44 * @param aFSOperationObserver observer callback pointer |
44 * @param aFSOperationObserver observer callback pointer |
45 * @param aFSRequestId client assigned identifier for the request instance |
45 * @param aFSRequestId client assigned identifier for the request instance |
46 * @param aEventHandler event handler for sending sync events |
46 * @param aEventHandler event handler for sending sync events |
47 * @param aSignallingAllowed for asynchronous request response message |
47 * @param aSignallingAllowed for asynchronous request response message |
48 * @param aFetchWillFollow used when connection must be kept open |
48 * @param aFetchWillFollow used when connection must be kept open |
|
49 * @param aSilentConnection set if silent connection is used |
49 * @return new instance of the class |
50 * @return new instance of the class |
50 */ |
51 */ |
51 // <qmail> MFSMailRequestObserver& changed to pointer |
52 // <qmail> MFSMailRequestObserver& changed to pointer |
52 // <qmail> aSignallingAllowed parameter added |
53 // <qmail> aSignallingAllowed parameter added |
53 // <qmail> aFetchWillFollow parameter added |
54 // <qmail> aFetchWillFollow parameter added |
|
55 // <qmail> aSilentConnection parameter added |
54 static CIpsPlgPop3ConnectOp* NewL( |
56 static CIpsPlgPop3ConnectOp* NewL( |
55 CMsvSession& aMsvSession, |
57 CMsvSession& aMsvSession, |
56 TRequestStatus& aObserverRequestStatus, |
58 TRequestStatus& aObserverRequestStatus, |
57 TMsvId aService, |
59 TMsvId aService, |
58 TBool aForcePopulate, |
60 TBool aForcePopulate, |
60 TFSMailMsgId aFSMailBoxId, |
62 TFSMailMsgId aFSMailBoxId, |
61 MFSMailRequestObserver* aFSOperationObserver, |
63 MFSMailRequestObserver* aFSOperationObserver, |
62 TInt aFSRequestId, |
64 TInt aFSRequestId, |
63 CIpsPlgEventHandler* aEventHandler, |
65 CIpsPlgEventHandler* aEventHandler, |
64 TBool aSignallingAllowed=ETrue, |
66 TBool aSignallingAllowed=ETrue, |
65 TBool aFetchWillFollow=EFalse ); |
67 TBool aFetchWillFollow=EFalse, |
|
68 TBool aSilentConnection=EFalse); |
66 |
69 |
67 /** |
70 /** |
68 * |
71 * |
69 */ |
72 */ |
70 virtual ~CIpsPlgPop3ConnectOp(); |
73 virtual ~CIpsPlgPop3ConnectOp(); |
116 * |
119 * |
117 */ |
120 */ |
118 // <qmail> MFSMailRequestObserver& changed to pointer |
121 // <qmail> MFSMailRequestObserver& changed to pointer |
119 // <qmail> aSignallingAllowed parameter added |
122 // <qmail> aSignallingAllowed parameter added |
120 // <qmail> aFetchWillFollow parameter added |
123 // <qmail> aFetchWillFollow parameter added |
|
124 // <qmail> aSilentConnection parameter added |
121 CIpsPlgPop3ConnectOp( |
125 CIpsPlgPop3ConnectOp( |
122 CMsvSession& aMsvSession, |
126 CMsvSession& aMsvSession, |
123 TRequestStatus& aObserverRequestStatus, |
127 TRequestStatus& aObserverRequestStatus, |
124 TMsvId aServiceId, |
128 TMsvId aServiceId, |
125 TBool aForcePopulate, |
129 TBool aForcePopulate, |
127 TFSMailMsgId aFSMailBoxId, |
131 TFSMailMsgId aFSMailBoxId, |
128 MFSMailRequestObserver* aFSOperationObserver, |
132 MFSMailRequestObserver* aFSOperationObserver, |
129 TInt aFSRequestId, |
133 TInt aFSRequestId, |
130 CIpsPlgEventHandler* aEventHandler, |
134 CIpsPlgEventHandler* aEventHandler, |
131 TBool aSignallingAllowed, |
135 TBool aSignallingAllowed, |
132 TBool aFetchWillFollow ); |
136 TBool aFetchWillFollow, |
|
137 TBool aSilentConnection); |
133 |
138 |
134 /** |
139 /** |
135 * |
140 * |
136 */ |
141 */ |
137 void ConstructL(); |
142 void ConstructL(); |
177 // <qmail> removed iSelection; |
182 // <qmail> removed iSelection; |
178 CIpsPlgEventHandler* iEventHandler; // not owned |
183 CIpsPlgEventHandler* iEventHandler; // not owned |
179 // <qmail> iAlreadyConnected removed |
184 // <qmail> iAlreadyConnected removed |
180 // <qmail> |
185 // <qmail> |
181 TBool iFetchWillFollow; |
186 TBool iFetchWillFollow; |
|
187 // whether silent connection is requested or not |
|
188 TBool iSilentConnection; |
182 // </qmail> |
189 // </qmail> |
183 }; |
190 }; |
184 |
191 |
185 #endif |
192 #endif |