1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/SyncMLClientDM.h Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,110 @@
1.4 +/*
1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* 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
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description: SyncML APIs for device management client.
1.18 +*
1.19 +*/
1.20 +///////////////////////////////////////////////////////////////////////////////
1.21 +// SyncMLClientDM.h
1.22 +//
1.23 +//
1.24 +// SyncML Device Management Client API v04.
1.25 +//
1.26 +///////////////////////////////////////////////////////////////////////////////
1.27 +#ifndef __SYNCMLCLIENTDM_H__
1.28 +#define __SYNCMLCLIENTDM_H__
1.29 +//
1.30 +#include <SyncMLClient.h>
1.31 +//
1.32 +
1.33 +
1.34 +///////////////////////////////////////////////////////////////////////////////
1.35 +// RSyncMLDevManJob
1.36 +///////////////////////////////////////////////////////////////////////////////
1.37 +class RSyncMLDevManJob : public RSyncMLJobBase
1.38 +/**
1.39 + Handle to a device management job.
1.40 +
1.41 + A device management job is used to create, access, modify or remove device settings stored in the device repository.
1.42 + @publishedAll
1.43 + @released
1.44 +*/
1.45 + {
1.46 +public:
1.47 + IMPORT_C RSyncMLDevManJob();
1.48 + IMPORT_C void CreateL(RSyncMLSession&, TSmlProfileId);
1.49 + IMPORT_C void CreateL(RSyncMLSession&, TSmlProfileId, TSmlConnectionId);
1.50 + IMPORT_C void OpenL(RSyncMLSession&, TSmlJobId);
1.51 + IMPORT_C void StopL();
1.52 + };
1.53 +
1.54 +///////////////////////////////////////////////////////////////////////////////
1.55 +///////////////////////////////////////////////////////////////////////////////
1.56 +
1.57 +
1.58 +///////////////////////////////////////////////////////////////////////////////
1.59 +// RSyncMLDevManProfile
1.60 +///////////////////////////////////////////////////////////////////////////////
1.61 +class RSyncMLDevManProfile : public RSyncMLProfileBase
1.62 +/**
1.63 + Handle to a SyncML Device Management profile.
1.64 +
1.65 + A profile encapsulates a relationship with a single SyncML remote server.
1.66 + @publishedAll
1.67 + @released
1.68 +*/
1.69 + {
1.70 +public:
1.71 + IMPORT_C RSyncMLDevManProfile();
1.72 + IMPORT_C void OpenL(RSyncMLSession&, TSmlProfileId);
1.73 + IMPORT_C void OpenL(RSyncMLSession&, TSmlProfileId, TSmlOpenMode);
1.74 + IMPORT_C void CreateL(RSyncMLSession&);
1.75 + };
1.76 +
1.77 +///////////////////////////////////////////////////////////////////////////////
1.78 +///////////////////////////////////////////////////////////////////////////////
1.79 +
1.80 +
1.81 +
1.82 +///////////////////////////////////////////////////////////////////////////////
1.83 +// RSyncMLDevMan
1.84 +///////////////////////////////////////////////////////////////////////////////
1.85 +class RSyncMLDevMan : public RSubSessionBase
1.86 +/**
1.87 + Handle to a RSyncMLDevMan session.
1.88 + @publishedAll
1.89 + @released
1.90 +*/
1.91 + {
1.92 +public:
1.93 + IMPORT_C RSyncMLDevMan();
1.94 + IMPORT_C void OpenL(RSyncMLSession&);
1.95 +
1.96 + IMPORT_C void ClearRootAclL();
1.97 +
1.98 + IMPORT_C void SetUserInteractionNotifierTimeoutL(TUint aSeconds); // use default if set to 0
1.99 + IMPORT_C TUint UserInteractionNotifierTimeout() const;
1.100 +
1.101 + IMPORT_C void Close();
1.102 + };
1.103 +
1.104 +///////////////////////////////////////////////////////////////////////////////
1.105 +///////////////////////////////////////////////////////////////////////////////
1.106 +
1.107 +
1.108 +
1.109 +
1.110 +///////////////////////////////////////////////////////////////////////////////
1.111 +///////////////////////////////////////////////////////////////////////////////
1.112 +///////////////////////////////////////////////////////////////////////////////
1.113 +#endif