syncmlfw/ds/syncagent/inc/NSmlDSAgent.h
changeset 63 e0c1916b8ddc
parent 0 b497e44ab2fc
equal deleted inserted replaced
57:f5b689a4f7a2 63:e0c1916b8ddc
    35 class MSyncMLProgressObserver;
    35 class MSyncMLProgressObserver;
    36 class CNSmlDSContent;
    36 class CNSmlDSContent;
    37 //RD_AUTO_RESTART
    37 //RD_AUTO_RESTART
    38 class CNsmlDSNetmon;
    38 class CNsmlDSNetmon;
    39 class CNSmlDSProfile;
    39 class CNSmlDSProfile;
    40 
    40 class CNSmlDSSettings;
       
    41 class CRepository;
       
    42 class CNSmlDSOperatorSettings;
    41 // CLASS DECLARATION
    43 // CLASS DECLARATION
    42 
    44 
    43 /**
    45 /**
    44 * OMA DS protocol engine.
    46 * OMA DS protocol engine.
    45 *
    47 *
   499 	TNSmlSyncSuspendedState CurrentStateInReceiving();
   501 	TNSmlSyncSuspendedState CurrentStateInReceiving();
   500 	TNSmlSyncSuspendedState CurrentStateInClientAlertNext();
   502 	TNSmlSyncSuspendedState CurrentStateInClientAlertNext();
   501 	TNSmlSyncSuspendedState CurrentStateInServerAlertNext();
   503 	TNSmlSyncSuspendedState CurrentStateInServerAlertNext();
   502 	
   504 	
   503 	TBool SyncFailure();
   505 	TBool SyncFailure();
       
   506 	void StoreServerStatusCode( TInt aServerStatusCode ) const;
   504 	public:
   507 	public:
   505 	/**
   508 	/**
   506 	* Mapping of the Alert code is done
   509 	* Mapping of the Alert code is done
   507 	*/
   510 	*/
   508 	static TNSmlPreviousSyncType MapAlertCode(TDes8& aAlertCode);
   511 	static TNSmlPreviousSyncType MapAlertCode(TDes8& aAlertCode);
   572      //RD_AUTO_RESTART
   575      //RD_AUTO_RESTART
   573 	CNsmlDSNetmon *iDSNetmon;
   576 	CNsmlDSNetmon *iDSNetmon;
   574 	TBool iAutoRestartInitiatedSync;
   577 	TBool iAutoRestartInitiatedSync;
   575 	//RD_SUSPEND_RESUME
   578 	//RD_SUSPEND_RESUME
   576 	TBool iUpdateLastAnchor;
   579 	TBool iUpdateLastAnchor;
       
   580 	//For storing Server Status Code
       
   581 	TBool iErrorReportingEnabled;
       
   582 	CRepository* iRepositorySSC;
       
   583 	RArray< TInt > iServerStatusCodeArray;
   577 	};
   584 	};
   578 	
   585 	
   579 typedef CNSmlDSAgent* (*TNSmlCreateDSAgentFunc) ( MSyncMLProgressObserver* aObserver );
   586 typedef CNSmlDSAgent* (*TNSmlCreateDSAgentFunc) ( MSyncMLProgressObserver* aObserver );
   580 
   587 
   581 /**
   588 /**