|
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: GSDeviceManagementPlugin header. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef GSDEVICEMANAGEMENTPLUGIN_H |
|
20 #define GSDEVICEMANAGEMENTPLUGIN_H |
|
21 |
|
22 // Includes |
|
23 #include <aknview.h> |
|
24 #include <eikclb.h> |
|
25 #include <gsparentplugin.h> |
|
26 #include <gsfwviewuids.h> |
|
27 |
|
28 // Classes referenced |
|
29 class CAknViewAppUi; |
|
30 class RConeResourceLoader; |
|
31 |
|
32 // Constants |
|
33 _LIT( KGSDeviceManagementPluginResourceFileName, "z:GSDeviceManagementPluginRsc.rsc" ); |
|
34 _LIT( KGSDeviceManagementPluginIconDirAndName, "z:GSDeviceManagementPlugin.mbm"); // Use KDC_BITMAP_DIR |
|
35 |
|
36 // CLASS DECLARATION |
|
37 |
|
38 /** |
|
39 * CGSDeviceManagementPlugin view class. |
|
40 * |
|
41 * @since Series60_3.2 |
|
42 */ |
|
43 class CGSDeviceManagementPlugin : public CGSParentPlugin |
|
44 { |
|
45 public: // Constructors and destructor |
|
46 |
|
47 /** |
|
48 * Symbian OS two-phased constructor |
|
49 * @return |
|
50 */ |
|
51 static CGSDeviceManagementPlugin* NewL( TAny* aInitParams ); |
|
52 |
|
53 /** |
|
54 * Destructor. |
|
55 */ |
|
56 ~CGSDeviceManagementPlugin(); |
|
57 |
|
58 public: // From CAknView |
|
59 |
|
60 /** |
|
61 * See base class. |
|
62 */ |
|
63 TUid Id() const; |
|
64 |
|
65 /** |
|
66 * See base class. |
|
67 */ |
|
68 void DoActivateL( const TVwsViewId& aPrevViewId, |
|
69 TUid aCustomMessageId, |
|
70 const TDesC8& aCustomMessage ); |
|
71 /** |
|
72 * See base class. |
|
73 */ |
|
74 void DoDeactivate(); |
|
75 |
|
76 public: // From CGSParentPlugin |
|
77 |
|
78 /** |
|
79 * See base class. |
|
80 */ |
|
81 TUid UpperLevelViewUid(); |
|
82 |
|
83 /** |
|
84 * See base class. |
|
85 */ |
|
86 void GetHelpContext( TCoeHelpContext& aContext ); |
|
87 |
|
88 public: // From CGSPluginInterface |
|
89 |
|
90 /** |
|
91 * See base class. |
|
92 */ |
|
93 void GetCaptionL( TDes& aCaption ) const; |
|
94 |
|
95 /** |
|
96 * See base class. |
|
97 */ |
|
98 CGulIcon* CreateIconL( const TUid aIconType ); |
|
99 |
|
100 /** |
|
101 * See base class. |
|
102 */ |
|
103 TInt PluginProviderCategory() const; |
|
104 |
|
105 protected: // New |
|
106 /** |
|
107 * C++ default constructor. |
|
108 */ |
|
109 CGSDeviceManagementPlugin(); |
|
110 |
|
111 /** |
|
112 * Symbian OS default constructor. |
|
113 */ |
|
114 void ConstructL(); |
|
115 |
|
116 private: // Data |
|
117 |
|
118 // Resource loader. |
|
119 RConeResourceLoader iResourceLoader; |
|
120 }; |
|
121 |
|
122 |
|
123 #endif // GSDEVICEMANAGEMENTPLUGIN_H |
|
124 // End of File |