remotemgmt_plat/syncml_client_api/inc/SyncMLClientDM.h
changeset 0 b497e44ab2fc
equal deleted inserted replaced
-1:000000000000 0:b497e44ab2fc
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     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".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: SyncML APIs for device management client.
       
    15 *
       
    16 */
       
    17 ///////////////////////////////////////////////////////////////////////////////
       
    18 // SyncMLClientDM.h
       
    19 //
       
    20 //
       
    21 // SyncML Device Management Client API v04.
       
    22 //
       
    23 ///////////////////////////////////////////////////////////////////////////////
       
    24 #ifndef __SYNCMLCLIENTDM_H__
       
    25 #define __SYNCMLCLIENTDM_H__
       
    26 //
       
    27 #include <SyncMLClient.h>
       
    28 //
       
    29 
       
    30 
       
    31 ///////////////////////////////////////////////////////////////////////////////
       
    32 // RSyncMLDevManJob
       
    33 ///////////////////////////////////////////////////////////////////////////////
       
    34 class RSyncMLDevManJob : public RSyncMLJobBase
       
    35 /**
       
    36 	Handle to a device management job.
       
    37 
       
    38 	A device management job is used to create, access, modify or remove device settings stored in the device repository.
       
    39 	@publishedAll
       
    40 	@released
       
    41 */
       
    42 	{
       
    43 public:
       
    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();
       
    49 	};
       
    50 
       
    51 ///////////////////////////////////////////////////////////////////////////////
       
    52 ///////////////////////////////////////////////////////////////////////////////
       
    53 
       
    54 
       
    55 ///////////////////////////////////////////////////////////////////////////////
       
    56 // RSyncMLDevManProfile
       
    57 ///////////////////////////////////////////////////////////////////////////////
       
    58 class RSyncMLDevManProfile : public RSyncMLProfileBase
       
    59 /**
       
    60 	Handle to a SyncML Device Management profile. 
       
    61 
       
    62 	A profile encapsulates a relationship with a single SyncML remote server.
       
    63 	@publishedAll
       
    64 	@released
       
    65 */
       
    66 	{
       
    67 public:
       
    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&);
       
    72 	};
       
    73 
       
    74 ///////////////////////////////////////////////////////////////////////////////
       
    75 ///////////////////////////////////////////////////////////////////////////////
       
    76 
       
    77 
       
    78 
       
    79 ///////////////////////////////////////////////////////////////////////////////
       
    80 // RSyncMLDevMan
       
    81 ///////////////////////////////////////////////////////////////////////////////
       
    82 class RSyncMLDevMan : public RSubSessionBase
       
    83 /**
       
    84 	Handle to a RSyncMLDevMan session.
       
    85 	@publishedAll
       
    86 	@released
       
    87 */
       
    88 	{
       
    89 public:
       
    90 	IMPORT_C RSyncMLDevMan();
       
    91 	IMPORT_C void OpenL(RSyncMLSession&);
       
    92 
       
    93 	IMPORT_C void ClearRootAclL();
       
    94 
       
    95 	IMPORT_C void SetUserInteractionNotifierTimeoutL(TUint aSeconds); // use default if set to 0
       
    96 	IMPORT_C TUint UserInteractionNotifierTimeout() const;
       
    97 
       
    98 	IMPORT_C void Close();
       
    99 	};
       
   100 
       
   101 ///////////////////////////////////////////////////////////////////////////////
       
   102 ///////////////////////////////////////////////////////////////////////////////
       
   103 
       
   104 
       
   105 
       
   106 
       
   107 ///////////////////////////////////////////////////////////////////////////////
       
   108 ///////////////////////////////////////////////////////////////////////////////
       
   109 ///////////////////////////////////////////////////////////////////////////////
       
   110 #endif