equal
deleted
inserted
replaced
|
1 /** |
|
2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 */ |
|
23 #ifndef CMTFTESTACTION_POP3_TOP_BASE_H_INCLUDED |
|
24 #define CMTFTESTACTION_POP3_TOP_BASE_H_INCLUDED |
|
25 |
|
26 #include <msvapi.h> |
|
27 #include <popcmtm.h> |
|
28 |
|
29 #include "CMtfTestAction.h" |
|
30 |
|
31 typedef TPckgBuf<TImPop3PopulateOptions> TPop3MailInfoBuf ; |
|
32 |
|
33 /* |
|
34 Base class encapsulating the actual POP3 top operation |
|
35 */ |
|
36 |
|
37 class CMtfTestActionPop3TopBase : public CMtfTestAction |
|
38 { |
|
39 public: |
|
40 virtual ~CMtfTestActionPop3TopBase(); |
|
41 virtual void ExecuteActionL() = 0; |
|
42 void RunL(); |
|
43 void DoCancel(); |
|
44 |
|
45 protected: |
|
46 void DoInvokeAsyncFunctionL( TPop3Cmds aCommand ); |
|
47 |
|
48 CMsvOperation* iOperation; |
|
49 CMtfTestActionPop3TopBase(CMtfTestCase& aTestCase); |
|
50 TImPop3PopulateOptions iMailInfo; |
|
51 }; |
|
52 |
|
53 #endif // ! defined CMTFTESTACTION_POP3_TOP_BASE_H_INCLUDED |