|
1 /* |
|
2 * Copyright (c) 2008 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: Tabbed view declaration |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CVIMPSTUISTATUSPANEHANDLER_H |
|
19 #define CVIMPSTUISTATUSPANEHANDLER_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <e32std.h> |
|
23 #include <e32base.h> |
|
24 |
|
25 #include <aknview.h> |
|
26 #include <akncontext.h> |
|
27 #include <aknnavi.h> |
|
28 #include <aknnavide.h> |
|
29 #include <akntitle.h> |
|
30 #include <AknIconUtils.h> |
|
31 #include <avkon.hrh> |
|
32 #include <eikenv.h> |
|
33 #include <eikappui.h> |
|
34 #include <fbs.h> |
|
35 #include <eikspane.h> |
|
36 // CLASS DECLARATION |
|
37 |
|
38 /** |
|
39 * CCVIMPSTUiStatusPaneHandler |
|
40 * |
|
41 */ |
|
42 class CCVIMPSTUiStatusPaneHandler : public CBase |
|
43 { |
|
44 public: |
|
45 // Constructors and destructor |
|
46 |
|
47 /** |
|
48 * Destructor. |
|
49 */ |
|
50 ~CCVIMPSTUiStatusPaneHandler(); |
|
51 |
|
52 /** |
|
53 * Two-phased constructor. |
|
54 */ |
|
55 static CCVIMPSTUiStatusPaneHandler* NewL(); |
|
56 |
|
57 /** |
|
58 * Two-phased constructor. |
|
59 */ |
|
60 static CCVIMPSTUiStatusPaneHandler* NewLC(); |
|
61 |
|
62 /** |
|
63 * Function to set picture on the status pane |
|
64 */ |
|
65 void SetPictureL( CFbsBitmap *aBitmap, CFbsBitmap *aMask, TBool aNaviPush = EFalse); |
|
66 |
|
67 /** |
|
68 * Function to set text on the status pane |
|
69 */ |
|
70 void SetTextL( const TDesC& aText ); |
|
71 |
|
72 /** |
|
73 * Function to clear the icon on the Status Pane. |
|
74 */ |
|
75 void ClearPaneL(); |
|
76 |
|
77 private: |
|
78 |
|
79 /** |
|
80 * Constructor for performing 1st stage construction |
|
81 */ |
|
82 CCVIMPSTUiStatusPaneHandler(); |
|
83 |
|
84 /** |
|
85 * EPOC default constructor for performing 2nd stage construction |
|
86 */ |
|
87 void ConstructL(); |
|
88 |
|
89 |
|
90 |
|
91 private: |
|
92 |
|
93 /** |
|
94 * not owned. Handle to the environment |
|
95 */ |
|
96 CEikonEnv* iEnv; |
|
97 |
|
98 /** |
|
99 * not owned, Handle to the environment |
|
100 */ |
|
101 CEikStatusPane* iStatusPane; |
|
102 |
|
103 /** |
|
104 * not owned Handle to the environment |
|
105 */ |
|
106 CAknTitlePane* iTitlePane; |
|
107 |
|
108 /** |
|
109 * not owned. Handle to the environment |
|
110 */ |
|
111 CAknContextPane* iContextPane; |
|
112 |
|
113 /** |
|
114 * not owned. Handle to the environment |
|
115 */ |
|
116 CAknNavigationControlContainer* iNaviPane; |
|
117 |
|
118 /** |
|
119 * Decorator pointer to decorate the navi pane. |
|
120 */ |
|
121 CAknNavigationDecorator* iNaviDeco; |
|
122 |
|
123 /** |
|
124 * Variable to know if the iNaviDeco is pushed on the navi pane. |
|
125 */ |
|
126 TBool iNaviPush; |
|
127 }; |
|
128 #endif // CVIMPSTUISTATUSPANEHANDLER_H |
|
129 |
|
130 //END OF FILE. |
|
131 |