dcmofw/dcmoserver/inc/amsmlhelper.h
branchRCL_3
changeset 25 b183ec05bd8c
parent 24 13d7c31c74e0
child 26 19bba8228ff0
equal deleted inserted replaced
24:13d7c31c74e0 25:b183ec05bd8c
     1 /*
       
     2  * Copyright (c) 2000 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: Implementation of applicationmanagement components
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef __ABMSMLHELPER_H__
       
    19 #define __ABMSMLHELPER_H__
       
    20 
       
    21 #include <SyncMLDef.h>
       
    22 #include <SyncMLTransportProperties.h>
       
    23 #include <SyncMLClient.h>
       
    24 #include <SyncMLClientDM.h>
       
    25 
       
    26 class SmlHelper
       
    27         {
       
    28 public:
       
    29 
       
    30         // NOTE: this enum must match with property array described in 
       
    31         // SyncML_Sync_Agent_Client_API_Specification.doc.
       
    32         enum TNSmlSyncTransportProperties
       
    33             {
       
    34             EPropertyIntenetAccessPoint = 0,
       
    35             EPropertyHttpUsed = 5,
       
    36             EPropertyHttpUserName = 6,
       
    37             EPropertyHttpPassword = 7
       
    38             };
       
    39 
       
    40         /**
       
    41          * Fetch the default IAP used by the currently active DM profile
       
    42          * @param aDefaultIAP on successfull return contains the default IAP number
       
    43          */
       
    44 
       
    45         static void GetDefaultIAPFromDMProfileL(TInt& aDefaultIAP);
       
    46 
       
    47         static void GetConnectionPropertyNameL(RSyncMLSession& aSyncSession,
       
    48                 TDes8& aText, TInt aPropertyPos);
       
    49 
       
    50         static TInt StrToInt(const TDesC& aText, TInt& aNum);
       
    51         };
       
    52 	
       
    53 #endif
       
    54 
       
    55 //  End of File