ipsservices/ipssosplugin/inc/ipsplgeventhandler.h
changeset 23 2dc6caa42ec3
parent 20 ecc8def7944a
child 51 d845db10c0d4
equal deleted inserted replaced
20:ecc8def7944a 23:2dc6caa42ec3
    27 class CIpsPlgSosBasePlugin;
    27 class CIpsPlgSosBasePlugin;
    28 class CMsvSession;
    28 class CMsvSession;
    29 class CRepository;
    29 class CRepository;
    30 class CIpsPlgSettingsObserver;
    30 class CIpsPlgSettingsObserver;
    31 class CIpsPlgSyncStateObserver;
    31 class CIpsPlgSyncStateObserver;
       
    32 // <qmail> CIpsSetDataApi removed
    32 /**
    33 /**
    33 * MIpsPlgPropertyObserver
    34 * MIpsPlgPropertyObserver
    34 *
    35 *
    35 */
    36 */
    36 class MIpsPlgPropertyObserver
    37 class MIpsPlgPropertyObserver
   194      * Used by CIpsPlgPropetyWatcher active object
   195      * Used by CIpsPlgPropetyWatcher active object
   195      * @param aEvent property event
   196      * @param aEvent property event
   196      */
   197      */
   197     void NotifyPropertyEventL( TIpsPlgPropertyEvent aEvent );
   198     void NotifyPropertyEventL( TIpsPlgPropertyEvent aEvent );
   198 
   199 
   199     // <qmail> removing unused functions
   200 // <qmail> removing unused functions
   200     //    void SignalMailboxOfflineStateL( const TFSMailMsgId& aAccount );
   201     //    void SignalMailboxOfflineStateL( const TFSMailMsgId& aAccount );
   201     //    void QueryUsrPassL( TMsvId aMbox, MIpsPlgConnectOpCallback* aCallback=NULL );
   202     //    void QueryUsrPassL( TMsvId aMbox, MIpsPlgConnectOpCallback* aCallback=NULL );
   202     //    void SignalCredientialsSetL( TInt aMailboxId, TBool aCancelled );
   203     //    void SignalCredientialsSetL( TInt aMailboxId, TBool aCancelled );
   203     // </qmail>
   204 // </qmail>
   204 private:
   205 private:
       
   206 // <qmail> removed enum TQueryUsrPassState
   205 
   207 
   206     /**
   208     /**
   207     * Checks the source type of event and also
   209     * Checks the source type of event and also
   208     * checks is the event from IPS type  ( imap/pop ) entry
   210     * checks is the event from IPS type  ( imap/pop ) entry
   209     *
   211     *
   390     inline void FillFSMessageArray(
   392     inline void FillFSMessageArray(
   391             RArray<TFSMailMsgId>& aFSArray,
   393             RArray<TFSMailMsgId>& aFSArray,
   392             const CMsvEntrySelection* aSelection,
   394             const CMsvEntrySelection* aSelection,
   393             TUint aMtmUid );
   395             TUint aMtmUid );
   394 
   396 
   395     // <qmail> new function
   397 // <qmail> new function
   396     /**
   398     /**
   397      * Convert sync operation completion code to email framework's syncState
   399      * Convert sync operation completion code to email framework's syncState
   398      * @param aStatus
   400      * @param aStatus
   399      * @return syncstate
   401      * @return syncstate
   400      */
   402      */
   401     TSSMailSyncState ConvertCompletionCode( TInt aCompletionCode );
   403     TSSMailSyncState ConvertCompletionCode( TInt aCompletionCode );
   402     // </qmail>
   404 // </qmail>
   403     
   405     
   404     CRepository*                            iCenRep;
   406     CRepository*                            iCenRep;
   405 
   407 
   406     // not owned
   408     // not owned
   407     CMsvSession*                            iSession;
   409     CMsvSession*                            iSession;
   428     TPckgBuf<TIpsPlgPropertyEvent>          iPropertyBuf;
   430     TPckgBuf<TIpsPlgPropertyEvent>          iPropertyBuf;
   429 
   431 
   430     // base plugin id
   432     // base plugin id
   431     TUint                                   iPluginId;
   433     TUint                                   iPluginId;
   432 
   434 
   433     // <qmail> MIpsPlgConnectOpCallback not used any more
       
   434 
       
   435     RArray<TMsvId>                          iImapFolderIds;
   435     RArray<TMsvId>                          iImapFolderIds;
   436 
   436 
       
   437 // <qmail> MIpsPlgConnectOpCallback not used any more
       
   438 // <qmail> iQueryPassState, iConnOpCallbacks, iIncomingPass removed
   437     };
   439     };
   438 
   440 
   439 
   441 
   440 #endif // IPSPLGEVENTHANDLER_H
   442 #endif // IPSPLGEVENTHANDLER_H
   441 
   443