diff -r 578830873419 -r ecc8def7944a ipsservices/ipssosplugin/inc/ipsplgeventhandler.h --- a/ipsservices/ipssosplugin/inc/ipsplgeventhandler.h Fri Apr 16 14:51:52 2010 +0300 +++ b/ipsservices/ipssosplugin/inc/ipsplgeventhandler.h Mon May 03 12:23:15 2010 +0300 @@ -90,13 +90,13 @@ NONSHARABLE_CLASS ( CIpsPlgEventHandler ) : public CBase, public MMsvSessionObserver, public MIpsPlgSettingsObserverCallback, - public MIpsPlgPropertyObserver, - public MFSMailExceptionEventCallback + public MIpsPlgPropertyObserver +// not needed public MFSMailExceptionEventCallback { - -public://from MFSMailExceptionEventCallback - - void ExceptionEventCallbackL( TFSMailMsgId aMailboxId, TInt aEventType, TBool aResponse ); +//public://from MFSMailExceptionEventCallback +// +// void ExceptionEventCallbackL( TFSMailMsgId aMailboxId, TInt aEventType, TBool aResponse ); +// public: //from MIpsPlgPropertyObserver void HandlePropertyEventL( @@ -196,28 +196,11 @@ */ void NotifyPropertyEventL( TIpsPlgPropertyEvent aEvent ); - /** - * used to inform ui offline state if connection attempt - * was not successfull - * @param aAccount FS mailbox id - */ - void SignalMailboxOfflineStateL( const TFSMailMsgId& aAccount ); - - /** - * Send user password query request to fs email ui - * @param aMbox entry id of mailbox service - * @param aCallback callback interface to connection operation, defaut NULL - */ - void QueryUsrPassL( TMsvId aMbox, MIpsPlgConnectOpCallback* aCallback=NULL ); - - /** - * Send user password (=credentials) set signal to all plugin - * instances via p&s (property) mechanism - * @param aMailboxId entry id of mailbox - * @param aCancelled indicates is user cancelled password dialog - */ - void SignalCredientialsSetL( TInt aMailboxId, TBool aCancelled ); - + // removing unused functions + // void SignalMailboxOfflineStateL( const TFSMailMsgId& aAccount ); + // void QueryUsrPassL( TMsvId aMbox, MIpsPlgConnectOpCallback* aCallback=NULL ); + // void SignalCredientialsSetL( TInt aMailboxId, TBool aCancelled ); + // private: /** @@ -360,11 +343,8 @@ TFSMailMsgId& aFSParent, RArray& aFSDeletedArray ); - - /** - * Saves last signalled sync status to settings - */ - void SaveSyncStatusL( TMsvId aMailboxId, TInt aState ); + // does nothing; removing + // void SaveSyncStatusL( TMsvId aMailboxId, TInt aState ); /** * Appends folder id to array if not already in there @@ -412,6 +392,15 @@ const CMsvEntrySelection* aSelection, TUint aMtmUid ); + // new function + /** + * Convert sync operation completion code to email framework's syncState + * @param aStatus + * @return syncstate + */ + TSSMailSyncState ConvertCompletionCode( TInt aCompletionCode ); + // + CRepository* iCenRep; // not owned @@ -441,8 +430,7 @@ // base plugin id TUint iPluginId; - //not owned - MIpsPlgConnectOpCallback* iConnOpCallback; + // MIpsPlgConnectOpCallback not used any more RArray iImapFolderIds;