williamr@2
|
1 |
/*
|
williamr@2
|
2 |
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
williamr@2
|
3 |
* All rights reserved.
|
williamr@2
|
4 |
* This component and the accompanying materials are made available
|
williamr@2
|
5 |
* under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
|
williamr@2
|
6 |
* which accompanies this distribution, and is available
|
williamr@2
|
7 |
* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
|
williamr@2
|
8 |
*
|
williamr@2
|
9 |
* Initial Contributors:
|
williamr@2
|
10 |
* Nokia Corporation - initial contribution.
|
williamr@2
|
11 |
*
|
williamr@2
|
12 |
* Contributors:
|
williamr@2
|
13 |
*
|
williamr@2
|
14 |
* Description: SyncML APIs for device management client.
|
williamr@2
|
15 |
*
|
williamr@2
|
16 |
*/
|
williamr@2
|
17 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
18 |
// SyncMLClientDM.h
|
williamr@2
|
19 |
//
|
williamr@2
|
20 |
//
|
williamr@2
|
21 |
// SyncML Device Management Client API v04.
|
williamr@2
|
22 |
//
|
williamr@2
|
23 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
24 |
#ifndef __SYNCMLCLIENTDM_H__
|
williamr@2
|
25 |
#define __SYNCMLCLIENTDM_H__
|
williamr@2
|
26 |
//
|
williamr@2
|
27 |
#include <SyncMLClient.h>
|
williamr@2
|
28 |
//
|
williamr@2
|
29 |
|
williamr@2
|
30 |
|
williamr@2
|
31 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
32 |
// RSyncMLDevManJob
|
williamr@2
|
33 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
34 |
class RSyncMLDevManJob : public RSyncMLJobBase
|
williamr@2
|
35 |
/**
|
williamr@2
|
36 |
Handle to a device management job.
|
williamr@2
|
37 |
|
williamr@2
|
38 |
A device management job is used to create, access, modify or remove device settings stored in the device repository.
|
williamr@2
|
39 |
@publishedAll
|
williamr@2
|
40 |
@released
|
williamr@2
|
41 |
*/
|
williamr@2
|
42 |
{
|
williamr@2
|
43 |
public:
|
williamr@2
|
44 |
IMPORT_C RSyncMLDevManJob();
|
williamr@2
|
45 |
IMPORT_C void CreateL(RSyncMLSession&, TSmlProfileId);
|
williamr@2
|
46 |
IMPORT_C void CreateL(RSyncMLSession&, TSmlProfileId, TSmlConnectionId);
|
williamr@2
|
47 |
IMPORT_C void OpenL(RSyncMLSession&, TSmlJobId);
|
williamr@2
|
48 |
IMPORT_C void StopL();
|
williamr@2
|
49 |
};
|
williamr@2
|
50 |
|
williamr@2
|
51 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
52 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
53 |
|
williamr@2
|
54 |
|
williamr@2
|
55 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
56 |
// RSyncMLDevManProfile
|
williamr@2
|
57 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
58 |
class RSyncMLDevManProfile : public RSyncMLProfileBase
|
williamr@2
|
59 |
/**
|
williamr@2
|
60 |
Handle to a SyncML Device Management profile.
|
williamr@2
|
61 |
|
williamr@2
|
62 |
A profile encapsulates a relationship with a single SyncML remote server.
|
williamr@2
|
63 |
@publishedAll
|
williamr@2
|
64 |
@released
|
williamr@2
|
65 |
*/
|
williamr@2
|
66 |
{
|
williamr@2
|
67 |
public:
|
williamr@2
|
68 |
IMPORT_C RSyncMLDevManProfile();
|
williamr@2
|
69 |
IMPORT_C void OpenL(RSyncMLSession&, TSmlProfileId);
|
williamr@2
|
70 |
IMPORT_C void OpenL(RSyncMLSession&, TSmlProfileId, TSmlOpenMode);
|
williamr@2
|
71 |
IMPORT_C void CreateL(RSyncMLSession&);
|
williamr@2
|
72 |
};
|
williamr@2
|
73 |
|
williamr@2
|
74 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
75 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
76 |
|
williamr@2
|
77 |
|
williamr@2
|
78 |
|
williamr@2
|
79 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
80 |
// RSyncMLDevMan
|
williamr@2
|
81 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
82 |
class RSyncMLDevMan : public RSubSessionBase
|
williamr@2
|
83 |
/**
|
williamr@2
|
84 |
Handle to a RSyncMLDevMan session.
|
williamr@2
|
85 |
@publishedAll
|
williamr@2
|
86 |
@released
|
williamr@2
|
87 |
*/
|
williamr@2
|
88 |
{
|
williamr@2
|
89 |
public:
|
williamr@2
|
90 |
IMPORT_C RSyncMLDevMan();
|
williamr@2
|
91 |
IMPORT_C void OpenL(RSyncMLSession&);
|
williamr@2
|
92 |
|
williamr@2
|
93 |
IMPORT_C void ClearRootAclL();
|
williamr@2
|
94 |
|
williamr@2
|
95 |
IMPORT_C void SetUserInteractionNotifierTimeoutL(TUint aSeconds); // use default if set to 0
|
williamr@2
|
96 |
IMPORT_C TUint UserInteractionNotifierTimeout() const;
|
williamr@2
|
97 |
|
williamr@2
|
98 |
IMPORT_C void Close();
|
williamr@2
|
99 |
};
|
williamr@2
|
100 |
|
williamr@2
|
101 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
102 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
103 |
|
williamr@2
|
104 |
|
williamr@2
|
105 |
|
williamr@2
|
106 |
|
williamr@2
|
107 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
108 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
109 |
///////////////////////////////////////////////////////////////////////////////
|
williamr@2
|
110 |
#endif
|