|
1 /* |
|
2 * Copyright (c) 2004 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 * Definition of CTFDosServerPlugin |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef __CTFDOSPLUGIN_H__ |
|
21 #define __CTFDOSPLUGIN_H__ |
|
22 |
|
23 // INCLUDE FILES |
|
24 #include <ctfstubmoduleinterface.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * An implementation of CTFStubModuleInterface. |
|
30 */ |
|
31 class CTFDosPlugin : public CTFStubModuleInterface |
|
32 { |
|
33 public: // Constructors and destructor |
|
34 |
|
35 /** |
|
36 * Two-phased constructor. |
|
37 * @param aInitParams Initialisation parameters. |
|
38 * @return The created object. |
|
39 */ |
|
40 static CTFDosPlugin* NewL( TAny* aInitParams ); |
|
41 |
|
42 /** |
|
43 * Destructor. |
|
44 */ |
|
45 ~CTFDosPlugin( void ); |
|
46 |
|
47 public: // Functions from base classes |
|
48 |
|
49 /** |
|
50 * Gets the stub implementation of this plug-in module |
|
51 */ |
|
52 CTFStub* GetStubL( void ); |
|
53 |
|
54 /** |
|
55 * Builds the test suite of this plug-in module. |
|
56 */ |
|
57 void BuildTestSuiteL( CTFATestSuite* aRootSuite ); |
|
58 |
|
59 /** |
|
60 * Gets the plug-in module specific part of a test case which has the given test case ID |
|
61 */ |
|
62 MTFStubTestCase* GetStubTestCaseL( TInt aTestCaseId ); |
|
63 |
|
64 private: // Functions |
|
65 |
|
66 /** |
|
67 * C++ default constructor. |
|
68 * @param aParams Initialisation parameters. |
|
69 */ |
|
70 CTFDosPlugin( TAny* aParams ); |
|
71 |
|
72 private: // Data |
|
73 |
|
74 CTFStubModuleInterface::TInterfaceInitParams* iInitParams; |
|
75 |
|
76 }; |
|
77 |
|
78 #endif //__CTFDOSSERVERPLUGIN_H__ |
|
79 |
|
80 // End of File |