syncmlfw/ds/dsutils/ProfileUtil/testprofileutil/inc/testprofileutil.h
branchRCL_3
changeset 61 b183ec05bd8c
parent 0 b497e44ab2fc
child 62 19bba8228ff0
equal deleted inserted replaced
59:13d7c31c74e0 61:b183ec05bd8c
    23 //  INCLUDES
    23 //  INCLUDES
    24 #include <StifLogger.h>
    24 #include <StifLogger.h>
    25 #include <TestScripterInternal.h>
    25 #include <TestScripterInternal.h>
    26 #include <StifTestModule.h>
    26 #include <StifTestModule.h>
    27 #include <TestclassAssert.h>
    27 #include <TestclassAssert.h>
    28 
    28 #include <centralrepository.h>
       
    29 #include <CoreApplicationUIsSDKCRKeys.h>
    29 
    30 
    30 //SyncML Includes
    31 //SyncML Includes
    31 
    32 
    32 #include <SyncMLClient.h>
    33 #include <SyncMLClient.h>
    33 #include <SyncMLClientDS.h>
    34 #include <SyncMLClientDS.h>
    34 #include <SyncMLClientDM.h>
    35 #include <SyncMLClientDM.h>
    35 #include <SyncMLObservers.h>
    36 #include <SyncMLObservers.h>
    36 #include <SyncMLErr.h>
    37 #include <SyncMLErr.h>
    37 #include <MProfileEngineExtended.h>
       
    38 
    38 
    39 
    39 
    40 // CONSTANTS
    40 // CONSTANTS
    41 //const ?type ?constant_var = ?constant;
    41 //const ?type ?constant_var = ?constant;
    42 
    42 
   227           RSyncMLConnection		iConnection;
   227           RSyncMLConnection		iConnection;
   228           RSyncMLProfileBase*		iConnectionProfile;
   228           RSyncMLProfileBase*		iConnectionProfile;
   229           TSmlTransportId			iConnectionId;
   229           TSmlTransportId			iConnectionId;
   230           TSmlDataProviderId		iDataProviderId;
   230           TSmlDataProviderId		iDataProviderId;
   231           
   231           
   232           MProfileEngineExtended* iProfileEngine;
   232           // Reserved pointer for future extension
   233          // Reserved pointer for future extension
       
   234         //TAny* iReserved;
   233         //TAny* iReserved;
   235 
   234 
   236     public:     // Friend classes
   235     public:     // Friend classes
   237         //?friend_class_declaration;
   236         //?friend_class_declaration;
   238     protected:  // Friend classes
   237     protected:  // Friend classes
   332         
   331         
   333         void OpenSyncSessionL();
   332         void OpenSyncSessionL();
   334 		
   333 		
   335 		void CloseSyncSession();
   334 		void CloseSyncSession();
   336 		
   335 		
   337   private:
   336 		void OfflineModeL();
       
   337 				
       
   338  private:
   338         
   339         
   339         TInt iInterruptStage;
   340         TInt iInterruptStage;
   340          
   341          
   341         TSyncStates iState; 
   342         TSyncStates iState; 
   342         
   343         
   345         RSyncMLDataSyncJob iSyncJob;
   346         RSyncMLDataSyncJob iSyncJob;
   346         
   347         
   347         TStatus iPrgPrevStatus;
   348         TStatus iPrgPrevStatus;
   348 		
   349 		
   349 		TStatus iPrgCurStatus;
   350 		TStatus iPrgCurStatus;
   350         
       
   351         MProfileEngineExtended* iProfileEngine;
       
   352          
       
   353             
   351             
   354 };
   352 };
   355 
   353 
   356 #endif      // TESTPROFILEUTIL_H
   354 #endif      // TESTPROFILEUTIL_H
   357 
   355