|
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 @internalTechnology |
|
23 */ |
|
24 |
|
25 |
|
26 #ifndef __CMTF_TEST_ACTION_DO_INVOKE_ASYNC_FUNCTION_WITHOUT_SELECTION_TEST_ACTION_H__ |
|
27 #define __CMTF_TEST_ACTION_DO_INVOKE_ASYNC_FUNCTION_WITHOUT_SELECTION_TEST_ACTION_H__ |
|
28 |
|
29 |
|
30 // EPOC include |
|
31 #include <msvstd.h> |
|
32 #include <impcmtm.h> |
|
33 #include <e32des8.h> |
|
34 |
|
35 // User include |
|
36 #include "CMtfDoInvokeAsyncFunctionTestAction.h" |
|
37 |
|
38 |
|
39 /** |
|
40 Abstrast base class for Test Actions that invoke IMAP4 commands related |
|
41 to 'copy new', 'copy all', 'move new', 'move all', 'populate new', 'populate all'. |
|
42 |
|
43 The parameters requried for the CImap4ClientMtm::InvokeAsyncFucntionL() are |
|
44 obtained and the call to CImap4ClientMtm::InvokeAsyncFucntionL() is made by calling |
|
45 the base class CMtfDoInvokeAsyncFunctionTestAction::InvokeAsyncImap4PopulateCommandL() |
|
46 function. |
|
47 |
|
48 Derived class need to override ExecuteActionL() and RunL() functions. |
|
49 DoCancel() function need not be overridden. |
|
50 |
|
51 @internalTechnology |
|
52 */ |
|
53 class CMtfDoInvokeAsyncFunctionWithoutSelectionTestAction : public CMtfDoInvokeAsyncFunctionTestAction |
|
54 { |
|
55 private: |
|
56 void DoCancel(); |
|
57 protected: |
|
58 // Constructor |
|
59 CMtfDoInvokeAsyncFunctionWithoutSelectionTestAction(CMtfTestCase& aTestCase); |
|
60 // Destructor |
|
61 virtual ~CMtfDoInvokeAsyncFunctionWithoutSelectionTestAction(); |
|
62 // Invokes asynchronous IMAP4 command |
|
63 void ExecuteIMAP4CommandL(TImap4Cmds aImap4Command); |
|
64 protected: |
|
65 CMsvEntrySelection* iMailSelection; |
|
66 }; |
|
67 |
|
68 #endif //__CMTF_TEST_ACTION_DO_INVOKE_ASYNC_FUNCTION_WITHOUT_SELECTION_TEST_ACTION_H__ |