equal
deleted
inserted
replaced
26 #include "creator_modulebase.h" |
26 #include "creator_modulebase.h" |
27 |
27 |
28 |
28 |
29 #include <e32base.h> |
29 #include <e32base.h> |
30 #include <SenduiMtmUids.h> |
30 #include <SenduiMtmUids.h> |
31 #include <SMTPSET.h> |
31 #include <smtpset.h> |
32 #include <imapset.h> |
32 #include <imapset.h> |
33 #include <POP3SET.h> |
33 #include <pop3set.h> |
34 #include <mtmuibas.h> |
34 #include <mtmuibas.h> |
35 #include <IAPPrefs.h> |
35 #include <iapprefs.h> |
36 #include <cemailaccounts.h> |
36 #include <cemailaccounts.h> |
37 |
37 |
38 class CCreatorEngine; |
38 class CCreatorEngine; |
39 class CMailboxesParameters; |
39 class CMailboxesParameters; |
40 |
40 |
44 { |
44 { |
45 EMailboxPOP3, |
45 EMailboxPOP3, |
46 EMailboxIMAP4 |
46 EMailboxIMAP4 |
47 }; |
47 }; |
48 |
48 |
49 class CCreatorMailboxes : public CBase, public MCreatorModuleBase, public MMsvSessionObserver |
49 class CCreatorMailboxes : public CCreatorModuleBase, public MMsvSessionObserver |
50 { |
50 { |
51 public: |
51 public: |
52 static CCreatorMailboxes* NewL(CCreatorEngine* aEngine); |
52 static CCreatorMailboxes* NewL(CCreatorEngine* aEngine); |
53 static CCreatorMailboxes* NewLC(CCreatorEngine* aEngine); |
53 static CCreatorMailboxes* NewLC(CCreatorEngine* aEngine); |
54 ~CCreatorMailboxes(); |
54 ~CCreatorMailboxes(); |
79 CImIAPPreferences& aIApSettings, |
79 CImIAPPreferences& aIApSettings, |
80 const CMailboxesParameters& aParameters ); |
80 const CMailboxesParameters& aParameters ); |
81 |
81 |
82 |
82 |
83 public: |
83 public: |
84 TBool AskDataFromUserL(TInt aCommand, TInt& aNumberOfEntries); // from MCreatorModuleBase |
84 TBool AskDataFromUserL( TInt aCommand ); // from MCreatorModuleBase |
|
85 |
85 TInt CreateMailboxEntryL(CMailboxesParameters *aParameters); |
86 TInt CreateMailboxEntryL(CMailboxesParameters *aParameters); |
86 void DeleteAllL(); |
87 void DeleteAllL(); |
87 void DeleteAllCreatedByCreatorL(); |
88 void DeleteAllCreatedByCreatorL(); |
88 |
89 |
89 |
90 |