2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: SyncML APIs for device management client.
17 ///////////////////////////////////////////////////////////////////////////////
21 // SyncML Device Management Client API v04.
23 ///////////////////////////////////////////////////////////////////////////////
24 #ifndef __SYNCMLCLIENTDM_H__
25 #define __SYNCMLCLIENTDM_H__
27 #include <SyncMLClient.h>
31 ///////////////////////////////////////////////////////////////////////////////
33 ///////////////////////////////////////////////////////////////////////////////
34 class RSyncMLDevManJob : public RSyncMLJobBase
36 Handle to a device management job.
38 A device management job is used to create, access, modify or remove device settings stored in the device repository.
44 IMPORT_C RSyncMLDevManJob();
45 IMPORT_C void CreateL(RSyncMLSession&, TSmlProfileId);
46 IMPORT_C void CreateL(RSyncMLSession&, TSmlProfileId, TSmlConnectionId);
47 IMPORT_C void OpenL(RSyncMLSession&, TSmlJobId);
48 IMPORT_C void StopL();
51 ///////////////////////////////////////////////////////////////////////////////
52 ///////////////////////////////////////////////////////////////////////////////
55 ///////////////////////////////////////////////////////////////////////////////
56 // RSyncMLDevManProfile
57 ///////////////////////////////////////////////////////////////////////////////
58 class RSyncMLDevManProfile : public RSyncMLProfileBase
60 Handle to a SyncML Device Management profile.
62 A profile encapsulates a relationship with a single SyncML remote server.
68 IMPORT_C RSyncMLDevManProfile();
69 IMPORT_C void OpenL(RSyncMLSession&, TSmlProfileId);
70 IMPORT_C void OpenL(RSyncMLSession&, TSmlProfileId, TSmlOpenMode);
71 IMPORT_C void CreateL(RSyncMLSession&);
74 ///////////////////////////////////////////////////////////////////////////////
75 ///////////////////////////////////////////////////////////////////////////////
79 ///////////////////////////////////////////////////////////////////////////////
81 ///////////////////////////////////////////////////////////////////////////////
82 class RSyncMLDevMan : public RSubSessionBase
84 Handle to a RSyncMLDevMan session.
90 IMPORT_C RSyncMLDevMan();
91 IMPORT_C void OpenL(RSyncMLSession&);
93 IMPORT_C void ClearRootAclL();
95 IMPORT_C void SetUserInteractionNotifierTimeoutL(TUint aSeconds); // use default if set to 0
96 IMPORT_C TUint UserInteractionNotifierTimeout() const;
98 IMPORT_C void Close();
101 ///////////////////////////////////////////////////////////////////////////////
102 ///////////////////////////////////////////////////////////////////////////////
107 ///////////////////////////////////////////////////////////////////////////////
108 ///////////////////////////////////////////////////////////////////////////////
109 ///////////////////////////////////////////////////////////////////////////////