equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // Base class for IMAP Synchronisation Operation Classes |
|
15 // |
|
16 // |
|
17 |
|
18 #ifndef __CIMAPSYNCOPERATION_H__ |
|
19 #define __CIMAPSYNCOPERATION_H__ |
|
20 |
|
21 #include <e32std.h> |
|
22 #include <mentact.h> |
|
23 |
|
24 class CMsvServerEntry; |
|
25 class CImapSession; |
|
26 class CImapSyncManager; |
|
27 class CImapSettings; |
|
28 |
|
29 _LIT(KStarChar,"*"); |
|
30 |
|
31 /** |
|
32 @internalTechnology |
|
33 @prototype |
|
34 */ |
|
35 class CImapSyncOperation : public CMsgActive |
|
36 { |
|
37 public: |
|
38 ~CImapSyncOperation( ); |
|
39 |
|
40 protected: |
|
41 CImapSyncOperation(CMsvServerEntry& aEntry, CImapSession& aSession, CImapSyncManager& aSyncMan, CImapSettings& aImapSettings, TInt aPriority); |
|
42 |
|
43 private: |
|
44 // from CMsgActive |
|
45 virtual void DoRunL()=0; |
|
46 protected: |
|
47 CMsvServerEntry& iServerEntry; |
|
48 CImapSession& iSession; |
|
49 CImapSyncManager& iSyncMan; |
|
50 CImapSettings& iImapSettings; |
|
51 }; |
|
52 |
|
53 #endif //__CIMAPSYNCOPERATION_H__ |
|
54 |