|
1 /* |
|
2 * Copyright (c) 2007 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: This is the declaration of the Services Suite Plugin class. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef DIAGSERVICESSUITEPLUGIN_H |
|
20 #define DIAGSERVICESSUITEPLUGIN_H |
|
21 |
|
22 // System Include Files |
|
23 #include <DiagSuitePluginBase.h> // CDiagSuitePluginBase |
|
24 |
|
25 /** |
|
26 * Diagnostics Services Suite Plugin |
|
27 * This class defines the services suite plugin. This plugin is the container |
|
28 * for all test plugins which test network services functionality. |
|
29 * |
|
30 * @lib diagpluginbase.lib |
|
31 * @lib diagframework.lib |
|
32 * @lib commonengine.lib |
|
33 * @lib aknicon.lib |
|
34 * @lib egul.lib |
|
35 */ |
|
36 class CDiagServicesSuitePlugin : public CDiagSuitePluginBase |
|
37 { |
|
38 |
|
39 public: // New functions |
|
40 |
|
41 /** |
|
42 * Two-phased constructor. |
|
43 * |
|
44 * @return An instance of CDiagServicesSuitePlugin. |
|
45 */ |
|
46 static MDiagPlugin* NewL( TAny* aInitParams ); |
|
47 |
|
48 /** |
|
49 * Destructor. |
|
50 */ |
|
51 ~CDiagServicesSuitePlugin(); |
|
52 |
|
53 |
|
54 private: // New functions |
|
55 |
|
56 /** |
|
57 * The default constructor. |
|
58 */ |
|
59 CDiagServicesSuitePlugin( CDiagPluginConstructionParam* aInitParams ); |
|
60 |
|
61 /** |
|
62 * Two-phased constructor. |
|
63 */ |
|
64 void ConstructL(); |
|
65 |
|
66 |
|
67 private: // From base class CDiagSuitePluginBase |
|
68 |
|
69 /** |
|
70 * @see CDiagSuitePluginBase::Visible() |
|
71 */ |
|
72 virtual TBool IsVisible() const; |
|
73 |
|
74 /** |
|
75 * @see CDiagSuitePluginBase::GetPluginNameL |
|
76 */ |
|
77 virtual HBufC* GetPluginNameL( TNameLayoutType aLayoutType ) const; |
|
78 |
|
79 /** |
|
80 * @see CDiagSuitePluginBase::Uid |
|
81 */ |
|
82 virtual TUid Uid() const; |
|
83 |
|
84 /** |
|
85 * @see CDiagSuitePluginBase::CreateIconL |
|
86 */ |
|
87 virtual CGulIcon* CreateIconL() const; |
|
88 |
|
89 |
|
90 private: // From base class CActive |
|
91 /** |
|
92 * Handle active object completion event |
|
93 */ |
|
94 virtual void RunL(); |
|
95 |
|
96 /** |
|
97 * Handle cancel |
|
98 */ |
|
99 virtual void DoCancel(); |
|
100 |
|
101 }; |
|
102 |
|
103 #endif // DIAGSERVICESSUITEPLUGIN_H |
|
104 |