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