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 // |
|
15 |
|
16 #ifndef __CIMAPOPERATION_H__ |
|
17 #define __CIMAPOPERATION_H__ |
|
18 |
|
19 #include <e32std.h> |
|
20 #include <msvstd.h> |
|
21 |
|
22 class CImapSession; |
|
23 class CMsgActive; |
|
24 class CMsvServerEntry; |
|
25 |
|
26 /** |
|
27 Base class for IMAP Operation Classes. |
|
28 @internalTechnology |
|
29 @prototype |
|
30 */ |
|
31 class CImapOperation : public CMsgActive |
|
32 { |
|
33 public: |
|
34 ~CImapOperation(); |
|
35 |
|
36 protected: |
|
37 CImapOperation(CImapSession*& aSession, CMsvServerEntry& aServerEntry, TInt aPriority); |
|
38 |
|
39 void SetEntryL(const TMsvId aId); |
|
40 |
|
41 private: |
|
42 // from CMsgActive |
|
43 virtual void DoRunL()=0; |
|
44 protected: |
|
45 CMsvServerEntry& iServerEntry; |
|
46 CImapSession*& iSession; |
|
47 }; |
|
48 |
|
49 #endif //__CIMAPOPERATION_H__ |
|
50 |