equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: IMAP4 connect operation |
14 * Description: IMAP4 connect operation |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #ifndef IPSPLGIMAP4CONNECT_H |
18 #ifndef IPSPLGIMAP4CONNECTOP_H |
19 #define IPSPLGIMAP4CONNECT_H |
19 #define IPSPLGIMAP4CONNECTOP_H |
20 |
20 |
21 #include "ipsplgonlineoperation.h" |
21 #include "ipsplgonlineoperation.h" |
22 #include "imapconnectionobserver.h" |
22 #include "imapconnectionobserver.h" |
23 |
23 |
24 class CIpsPlgEventHandler; |
24 class CIpsPlgEventHandler; |
51 * @param aEventHandler used for signalling synchronisation statuses |
51 * @param aEventHandler used for signalling synchronisation statuses |
52 * @param aDoPlainConnect whether just connect to mailbox, or synch messages also |
52 * @param aDoPlainConnect whether just connect to mailbox, or synch messages also |
53 * @return CIpsPlgImap4ConnectionOp* self pointer |
53 * @return CIpsPlgImap4ConnectionOp* self pointer |
54 */ |
54 */ |
55 // <qmail> priority parameter has been removed |
55 // <qmail> priority parameter has been removed |
|
56 // <qmail> MFSMailRequestObserver& changed it to pointer |
|
57 // <qmail> aSignallingAllowed parameter has been removed |
56 static CIpsPlgImap4ConnectOp* NewL( |
58 static CIpsPlgImap4ConnectOp* NewL( |
57 CMsvSession& aMsvSession, |
59 CMsvSession& aMsvSession, |
58 TRequestStatus& aObserverRequestStatus, |
60 TRequestStatus& aObserverRequestStatus, |
59 TMsvId aService, |
61 TMsvId aService, |
60 CIpsPlgTimerOperation& aActivityTimer, |
62 CIpsPlgTimerOperation& aActivityTimer, |
104 |
106 |
105 private: |
107 private: |
106 enum TImapConnectionState |
108 enum TImapConnectionState |
107 { |
109 { |
108 EStateStartConnect, |
110 EStateStartConnect, |
109 // <qmail> removing EStateQueryingDetails, |
111 // <qmail> removing EStateQueryingDetails, EStateQueryingDetailsBusy |
110 EStateConnectAndSync, |
112 EStateConnectAndSync, |
111 EStatePopulateAllCompleted, |
113 EStatePopulateAllCompleted, |
112 EStateCompleted, |
114 EStateCompleted, |
113 EStateIdle |
115 EStateIdle |
114 }; |
116 }; |
115 |
117 |
116 // <qmail> priority parameter has been removed |
118 // <qmail> priority parameter has been removed |
|
119 // <qmail> MFSMailRequestObserver& changed it to pointer |
|
120 // <qmail> aSignallingAllowed parameter has been removed |
117 CIpsPlgImap4ConnectOp( |
121 CIpsPlgImap4ConnectOp( |
118 CMsvSession& aMsvSession, |
122 CMsvSession& aMsvSession, |
119 TRequestStatus& aObserverRequestStatus, |
123 TRequestStatus& aObserverRequestStatus, |
120 TMsvId aService, |
124 TMsvId aService, |
121 CIpsPlgTimerOperation& aActivityTimer, |
125 CIpsPlgTimerOperation& aActivityTimer, |
187 TBool iDoPlainConnect; |
191 TBool iDoPlainConnect; |
188 // pointer to event handler in order to signal sync status to client |
192 // pointer to event handler in order to signal sync status to client |
189 CIpsPlgEventHandler* iEventHandler; // not owned |
193 CIpsPlgEventHandler* iEventHandler; // not owned |
190 // prevents signalling sync started for more than once |
194 // prevents signalling sync started for more than once |
191 TBool iIsSyncStartedSignaled; |
195 TBool iIsSyncStartedSignaled; |
|
196 |
|
197 // <qmail> iAlreadyConnected removed |
192 }; |
198 }; |
193 |
199 |
194 #endif // IPSPLGIMAP4CONNECT_H |
200 #endif // IPSPLGIMAP4CONNECT_H |