|
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: GSIndicatorplugin plugin implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CGSINDICATORPLUGINIMPLEMENTATION_H |
|
21 #define CGSINDICATORPLUGINIMPLEMENTATION_H |
|
22 |
|
23 |
|
24 // INCLUDES |
|
25 #include <AknIndicatorPlugin.h> // CAknIndicatorPlugin |
|
26 |
|
27 /** |
|
28 * GSIndicatorplugin. When user taps signal pane in indicator pop-up pane |
|
29 * this component will open general settings. |
|
30 * |
|
31 * @lib gsindicatorplugin.lib |
|
32 * @since 5.0 |
|
33 */ |
|
34 class CGSIndicatorPluginImplementation : public CAknIndicatorPlugin |
|
35 { |
|
36 |
|
37 public: // Constructors and destructor |
|
38 |
|
39 /** |
|
40 * Two-phased constructor. |
|
41 */ |
|
42 static CGSIndicatorPluginImplementation* NewL(); |
|
43 |
|
44 /** |
|
45 * Destructor. |
|
46 */ |
|
47 ~CGSIndicatorPluginImplementation(); |
|
48 public: |
|
49 static TInt Tick(TAny* aObject); |
|
50 |
|
51 private: // From CAknIndicatorPlugin |
|
52 |
|
53 /** |
|
54 * @see CAknIndicatorPlugin |
|
55 */ |
|
56 void HandleIndicatorTapL( const TInt /*aUid */); |
|
57 |
|
58 private: |
|
59 |
|
60 /** |
|
61 * C++ default constructor. |
|
62 */ |
|
63 CGSIndicatorPluginImplementation(); |
|
64 |
|
65 /** |
|
66 * By default Symbian 2nd phase constructor is private. |
|
67 */ |
|
68 void ConstructL(); |
|
69 |
|
70 private: // new functions |
|
71 TInt DoTick(); |
|
72 |
|
73 |
|
74 private: // data |
|
75 CPeriodic* iTimer; |
|
76 }; |
|
77 |
|
78 #endif // CGSINDICATORPLUGINIMPLEMENTATION_H |
|
79 |
|
80 // End of File |