48 * @param aFSOperationObserver observer of this operation |
48 * @param aFSOperationObserver observer of this operation |
49 * @param aFSRequestId request identifier of this op (assigned by caller, and used when calling |
49 * @param aFSRequestId request identifier of this op (assigned by caller, and used when calling |
50 * back aFSOperationObserver |
50 * back aFSOperationObserver |
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 * @param aSilentConnection set if silent connection is used |
53 * @return CIpsPlgImap4ConnectionOp* self pointer |
54 * @return CIpsPlgImap4ConnectionOp* self pointer |
54 */ |
55 */ |
55 // <qmail> priority parameter has been removed |
56 // <qmail> priority parameter has been removed |
56 // <qmail> MFSMailRequestObserver& changed it to pointer |
57 // <qmail> MFSMailRequestObserver& changed it to pointer |
57 // <qmail> aSignallingAllowed parameter has been removed |
58 // <qmail> aSignallingAllowed parameter has been removed |
|
59 // <qmail> silent connection parameter added |
58 static CIpsPlgImap4ConnectOp* NewL( |
60 static CIpsPlgImap4ConnectOp* NewL( |
59 CMsvSession& aMsvSession, |
61 CMsvSession& aMsvSession, |
60 TRequestStatus& aObserverRequestStatus, |
62 TRequestStatus& aObserverRequestStatus, |
61 TMsvId aService, |
63 TMsvId aService, |
62 CIpsPlgTimerOperation& aActivityTimer, |
64 CIpsPlgTimerOperation& aActivityTimer, |
63 TFSMailMsgId aFSMailBoxId, |
65 TFSMailMsgId aFSMailBoxId, |
64 MFSMailRequestObserver* aFSOperationObserver, |
66 MFSMailRequestObserver* aFSOperationObserver, |
65 TInt aFSRequestId, |
67 TInt aFSRequestId, |
66 CIpsPlgEventHandler* aEventHandler, |
68 CIpsPlgEventHandler* aEventHandler, |
67 TBool aDoPlainConnect=EFalse ); |
69 TBool aDoPlainConnect=EFalse, |
|
70 TBool aSilentConnection=EFalse); |
68 |
71 |
69 // <qmail> make destructor virtual |
72 // <qmail> make destructor virtual |
70 virtual ~CIpsPlgImap4ConnectOp(); |
73 virtual ~CIpsPlgImap4ConnectOp(); |
71 |
74 |
72 public: // from CIpsPlgBaseOperation |
75 public: // from CIpsPlgBaseOperation |
127 }; |
130 }; |
128 |
131 |
129 // <qmail> priority parameter has been removed |
132 // <qmail> priority parameter has been removed |
130 // <qmail> MFSMailRequestObserver& changed it to pointer |
133 // <qmail> MFSMailRequestObserver& changed it to pointer |
131 // <qmail> aSignallingAllowed parameter has been removed |
134 // <qmail> aSignallingAllowed parameter has been removed |
|
135 // <qmail> aSilentConnection parameter added |
132 CIpsPlgImap4ConnectOp( |
136 CIpsPlgImap4ConnectOp( |
133 CMsvSession& aMsvSession, |
137 CMsvSession& aMsvSession, |
134 TRequestStatus& aObserverRequestStatus, |
138 TRequestStatus& aObserverRequestStatus, |
135 TMsvId aService, |
139 TMsvId aService, |
136 CIpsPlgTimerOperation& aActivityTimer, |
140 CIpsPlgTimerOperation& aActivityTimer, |
137 TFSMailMsgId aFSMailBoxId, |
141 TFSMailMsgId aFSMailBoxId, |
138 MFSMailRequestObserver* aFSOperationObserver, |
142 MFSMailRequestObserver* aFSOperationObserver, |
139 TInt aFSRequestId, |
143 TInt aFSRequestId, |
140 TBool aDoPlainConnect, |
144 TBool aDoPlainConnect, |
141 CIpsPlgEventHandler* aEventHandler ); |
145 CIpsPlgEventHandler* aEventHandler, |
|
146 TBool aSilentConnection ); |
142 |
147 |
143 void ConstructL(); |
148 void ConstructL(); |
144 |
149 |
145 /** |
150 /** |
146 * Handles one internal state |
151 * Handles one internal state |
194 TBool iDoPlainConnect; |
199 TBool iDoPlainConnect; |
195 // pointer to event handler in order to signal sync status to client |
200 // pointer to event handler in order to signal sync status to client |
196 CIpsPlgEventHandler* iEventHandler; // not owned |
201 CIpsPlgEventHandler* iEventHandler; // not owned |
197 // prevents signalling sync started for more than once |
202 // prevents signalling sync started for more than once |
198 TBool iIsSyncStartedSignaled; |
203 TBool iIsSyncStartedSignaled; |
|
204 // <qmail> |
|
205 // whether silent connection is requested or not |
|
206 TBool iSilentConnection; |
|
207 // </qmail> |
199 |
208 |
200 // <qmail> iAlreadyConnected removed |
209 // <qmail> iAlreadyConnected removed |
201 }; |
210 }; |
202 |
211 |
203 #endif // IPSPLGIMAP4CONNECT_H |
212 #endif // IPSPLGIMAP4CONNECT_H |