equal
deleted
inserted
replaced
17 |
17 |
18 |
18 |
19 #ifndef IPSPLGSOSBASEPLUGIN_H |
19 #ifndef IPSPLGSOSBASEPLUGIN_H |
20 #define IPSPLGSOSBASEPLUGIN_H |
20 #define IPSPLGSOSBASEPLUGIN_H |
21 |
21 |
22 //<cmail> |
|
23 #include "CFSMailPlugin.h" |
22 #include "CFSMailPlugin.h" |
24 #include "MFSMailRequestObserver.h" |
23 #include "MFSMailRequestObserver.h" |
25 //</cmail> |
|
26 #include <rconnmon.h> |
24 #include <rconnmon.h> |
27 |
|
28 #include "ipsplgsosbaseplugin.hrh" |
25 #include "ipsplgsosbaseplugin.hrh" |
29 #include "ipsplgcommon.h" |
26 #include "ipsplgcommon.h" |
30 #include "ipsplgsingleopwatcher.h" |
27 #include "ipsplgsingleopwatcher.h" |
31 #include "ipsplgtimeroperation.h" |
28 #include "ipsplgtimeroperation.h" |
32 |
29 //<Qmail> |
|
30 #include "ipsstateextension.h" |
|
31 //</Qmail> |
33 class CMsvSession; |
32 class CMsvSession; |
34 class CIpsPlgTimerOperation; |
33 class CIpsPlgTimerOperation; |
35 class CIpsPlgMsgMapper; |
34 class CIpsPlgMsgMapper; |
36 class CImEmailMessage; |
35 class CImEmailMessage; |
37 class CIpsPlgMruList; |
36 class CIpsPlgMruList; |
49 * @lib ipssosplugin.lib |
48 * @lib ipssosplugin.lib |
50 * @since FSEmail 2.0 |
49 * @since FSEmail 2.0 |
51 */ |
50 */ |
52 NONSHARABLE_CLASS ( CIpsPlgSosBasePlugin ) : |
51 NONSHARABLE_CLASS ( CIpsPlgSosBasePlugin ) : |
53 public CFSMailPlugin, |
52 public CFSMailPlugin, |
54 public MIpsPlgSingleOpWatcher, |
53 public MIpsPlgSingleOpWatcher, |
55 public MFSMailRequestObserver, // a dummy observer |
54 public MFSMailRequestObserver, // a dummy observer |
56 public MIpsPlgTimerOperationCallBack |
55 public MIpsPlgTimerOperationCallBack, |
|
56 public MStateObserverCallback |
57 { |
57 { |
58 |
58 //<Qmail> |
|
59 public: //from MStateObserverCallback |
|
60 void ActiveFolderChanged( |
|
61 const TFSMailMsgId& aActiveMailboxId, |
|
62 const TFSMailMsgId& aActiveFolderId); |
|
63 |
|
64 public://from CExtendableEmail |
|
65 |
|
66 CEmailExtension* ExtensionL( const TUid& aInterfaceUid ); |
|
67 //</Qmail> |
59 public: |
68 public: |
60 |
69 |
61 /** |
70 /** |
62 * ~CIpsPlgSosBasePlugin |
71 * ~CIpsPlgSosBasePlugin |
63 * Destructor |
72 * Destructor |
64 */ |
73 */ |
65 IMPORT_C virtual ~CIpsPlgSosBasePlugin(); |
74 IMPORT_C virtual ~CIpsPlgSosBasePlugin(); |
66 |
75 |
67 public: //from MIpsPlgSingleOpWatcher |
76 public: //from MIpsPlgSingleOpWatcher |
68 |
77 |
69 /** |
78 /** |
70 * |
79 * |
71 */ |
80 */ |
655 const TFSMailMsgId& aMailBoxId, |
664 const TFSMailMsgId& aMailBoxId, |
656 const RArray<TFSMailMsgId>& aMessageIds, |
665 const RArray<TFSMailMsgId>& aMessageIds, |
657 const TFSMailMsgId& aSourceFolderId, |
666 const TFSMailMsgId& aSourceFolderId, |
658 const TFSMailMsgId& aDestinationFolderId ); |
667 const TFSMailMsgId& aDestinationFolderId ); |
659 |
668 |
|
669 //<Qmail> |
|
670 /** |
|
671 * function to handle active folder changed events |
|
672 */ |
|
673 virtual void HandleActiveFolderChangeL( |
|
674 const TFSMailMsgId& aActiveMailboxId, |
|
675 const TFSMailMsgId& aActiveFolderId); |
|
676 //</Qmail> |
660 private: |
677 private: |
661 |
678 |
662 /** |
679 /** |
663 * Returns a cached entry objects or creates new objects and keeps them |
680 * Returns a cached entry objects or creates new objects and keeps them |
664 * in the cache. |
681 * in the cache. |
816 // branding id i.e. "yahoo.com" or "google" |
833 // branding id i.e. "yahoo.com" or "google" |
817 HBufC* iBrandingId; |
834 HBufC* iBrandingId; |
818 |
835 |
819 // flag indicates is instance under FSEmail.exe |
836 // flag indicates is instance under FSEmail.exe |
820 TBool iIsUnderUiProcess; |
837 TBool iIsUnderUiProcess; |
|
838 |
|
839 //<Qmail> |
|
840 CIpsStateExtension* iStateExtension;//owned |
|
841 //</Qmail> |
821 }; |
842 }; |
822 |
843 |
823 #endif /* IPSPLGSOSBASEPLUGIN_H */ |
844 #endif /* IPSPLGSOSBASEPLUGIN_H */ |
824 |
845 |
825 // End of File |
846 // End of File |