108 |
108 |
109 // CFSMailPlugin // |
109 // CFSMailPlugin // |
110 public: |
110 public: |
111 |
111 |
112 /** |
112 /** |
113 * This methoed must be called before destruction of |
113 * This methoed must be called before destruction of |
114 * CBasePlugin derived class. To fix bug EIZU-7XVF2Z. |
114 * CBasePlugin derived class. To fix bug EIZU-7XVF2Z. |
115 */ |
115 */ |
116 void DeleteDelayedOpsManager(); |
116 void DeleteDelayedOpsManager(); |
117 virtual void ListMailBoxesL( |
117 virtual void ListMailBoxesL( |
118 RArray<TFSMailMsgId>& aMailboxes ); |
118 RArray<TFSMailMsgId>& aMailboxes ); |
139 const RArray<TFSMailMsgId>& aMessageIds, |
139 const RArray<TFSMailMsgId>& aMessageIds, |
140 RArray<TFSMailMsgId>& aNewMessages, |
140 RArray<TFSMailMsgId>& aNewMessages, |
141 const TFSMailMsgId& aSourceFolderId, |
141 const TFSMailMsgId& aSourceFolderId, |
142 const TFSMailMsgId& aDestinationFolderId ); |
142 const TFSMailMsgId& aDestinationFolderId ); |
143 |
143 |
144 MDesCArray* GetMrusL( |
|
145 const TFSMailMsgId& aMailBoxId ); |
|
146 |
|
147 void SetMrusL( |
|
148 const TFSMailMsgId& aMailBoxId, |
|
149 MDesCArray* aNewMruList ); |
|
150 |
|
151 void GoOnlineL( |
144 void GoOnlineL( |
152 const TFSMailMsgId& aMailBoxId ); |
145 const TFSMailMsgId& aMailBoxId ); |
153 |
146 |
154 void GoOfflineL( |
147 void GoOfflineL( |
155 const TFSMailMsgId& aMailBoxId ); |
148 const TFSMailMsgId& aMailBoxId ); |
232 const TDesC& aHeaderDescriptor ); |
225 const TDesC& aHeaderDescriptor ); |
233 |
226 |
234 virtual void StoreMessageL( |
227 virtual void StoreMessageL( |
235 const TFSMailMsgId& aMailBoxId, |
228 const TFSMailMsgId& aMailBoxId, |
236 CFSMailMessage& aMessage ); |
229 CFSMailMessage& aMessage ); |
237 |
230 |
238 // <qmail> |
231 // <qmail> |
239 void StoreMessagesL( |
232 void StoreMessagesL( |
240 const TFSMailMsgId& aMailBoxId, |
233 const TFSMailMsgId& aMailBoxId, |
241 RPointerArray<CFSMailMessage> &messages, |
234 RPointerArray<CFSMailMessage> &messages, |
242 MFSMailRequestObserver& aOperationObserver, |
235 MFSMailRequestObserver& aOperationObserver, |
243 const TInt aRequestId ); |
236 const TInt aRequestId ); |
244 // </qmail> |
237 // </qmail> |
245 |
238 |
246 // <qmail> |
239 // <qmail> |
247 virtual void StoreMessagePartsL( |
240 virtual void StoreMessagePartsL( |
248 RPointerArray<CFSMailMessagePart>& aMessageParts, |
241 RPointerArray<CFSMailMessagePart>& aMessageParts, |
249 MFSMailRequestObserver& aOperationObserver, |
242 MFSMailRequestObserver& aOperationObserver, |
250 const TInt aRequestId); |
243 const TInt aRequestId); |
251 // <//qmail> |
244 // <//qmail> |
252 |
245 |
253 virtual void FetchMessagesL( |
246 virtual void FetchMessagesL( |
254 const TFSMailMsgId& aMailBoxId, |
247 const TFSMailMsgId& aMailBoxId, |
255 const TFSMailMsgId& aFolderId, |
248 const TFSMailMsgId& aFolderId, |
256 const RArray<TFSMailMsgId>& aMessageIds, |
249 const RArray<TFSMailMsgId>& aMessageIds, |
257 TFSMailDetails aDetails, |
250 TFSMailDetails aDetails, |
445 const TFSMailMsgId& aMailBoxId, |
438 const TFSMailMsgId& aMailBoxId, |
446 const TFSMailMsgId& aParentFolderId, |
439 const TFSMailMsgId& aParentFolderId, |
447 const TFSMailMsgId& aMessageId, |
440 const TFSMailMsgId& aMessageId, |
448 const TFSMailMsgId& aParentPartId, |
441 const TFSMailMsgId& aParentPartId, |
449 const TDesC& aContentType, |
442 const TDesC& aContentType, |
450 const TDesC& aFilePath, |
443 const TDesC& aFilePath, |
451 MFSMailRequestObserver& aOperationObserver, |
444 MFSMailRequestObserver& aOperationObserver, |
452 const TInt aRequestId ); |
445 const TInt aRequestId ); |
453 // </qmail> |
446 // </qmail> |
454 virtual TInt WizardDataAvailableL(); |
447 virtual TInt WizardDataAvailableL(); |
455 |
448 |
835 RMap<TInt64, CMailboxInfo> iMailboxes; |
828 RMap<TInt64, CMailboxInfo> iMailboxes; |
836 |
829 |
837 //does not actually own the observers. |
830 //does not actually own the observers. |
838 RPointerArray<MFSMailEventObserver> iObservers; |
831 RPointerArray<MFSMailEventObserver> iObservers; |
839 //async fetch reqs. |
832 //async fetch reqs. |
840 RPointerArray<CFetchRequester> iReqs; |
833 RPointerArray<CFetchRequester> iReqs; |
841 RPointerArray<CDelayedOp> iDelayedOpReqs; |
834 RPointerArray<CDelayedOp> iDelayedOpReqs; |
842 |
835 |
843 TCacheLine iCacheLine; |
836 TCacheLine iCacheLine; |
844 |
837 |
845 private: |
838 private: |