equal
deleted
inserted
replaced
77 |
77 |
78 TBool DynInitMenuItemL( const TDesC& aItemType, |
78 TBool DynInitMenuItemL( const TDesC& aItemType, |
79 RPointerArray< CXnNodeAppIf >* aList = NULL ); |
79 RPointerArray< CXnNodeAppIf >* aList = NULL ); |
80 |
80 |
81 void HandleEnterEditModeL( TBool aEnter ); |
81 void HandleEnterEditModeL( TBool aEnter ); |
82 |
82 |
83 |
83 private: |
|
84 // new functions |
|
85 |
|
86 /** |
|
87 * Starts long press recognizer of Send key. |
|
88 * |
|
89 * @since S60 5.2 |
|
90 */ |
|
91 void StartKeyTimerL(); |
|
92 |
|
93 /** |
|
94 * Stops Send key long press recognizer. |
|
95 * |
|
96 * @since S60 5.2 |
|
97 */ |
|
98 void StopKeyTimer(); |
|
99 |
|
100 /** |
|
101 * Launches Voice command application after long Send key is pressed. |
|
102 * |
|
103 * @since S60 5.2 |
|
104 */ |
|
105 void LaunchVoiceCommandL(); |
|
106 |
|
107 /** |
|
108 * Callback function for long press timer of the Send key. |
|
109 * |
|
110 * @since S60 5.2 |
|
111 */ |
|
112 static TInt ReportLongPressL( TAny* aThis ); |
|
113 |
|
114 /** |
|
115 * Sets title pane text |
|
116 * |
|
117 * @since S60 5.2 |
|
118 * @param aText Text to set |
|
119 */ |
|
120 void SetTitlePaneTextL( const TDesC& aText ); |
|
121 |
84 private: |
122 private: |
85 // from MCoeViewActivationObserver |
123 // from MCoeViewActivationObserver |
86 |
124 |
87 /** |
125 /** |
88 * @see MCoeViewActivationObserver |
126 * @see MCoeViewActivationObserver |
92 |
130 |
93 public: |
131 public: |
94 // new functions |
132 // new functions |
95 |
133 |
96 /** |
134 /** |
|
135 * Activates UI. Called by UI controller during bootup sequence. |
|
136 * |
|
137 * @since S60 5.2 |
|
138 */ |
|
139 void ActivateUi(); |
|
140 |
|
141 /** |
97 * Sets plugins online state |
142 * Sets plugins online state |
98 * |
143 * |
99 * @since S60 5.0 |
144 * @since S60 5.2 |
100 * @param aOnline ETrue to enter online, EFalse to offline |
145 * @param aOnline ETrue to enter online, EFalse to offline |
101 * |
146 * |
102 */ |
147 */ |
103 void SetOnlineStateL( TBool aOnline ); |
148 void SetOnlineStateL( TBool aOnline ); |
104 |
149 |
111 CXmlUiController& UiController() const; |
156 CXmlUiController& UiController() const; |
112 |
157 |
113 /** |
158 /** |
114 * Gets online/offline helper object |
159 * Gets online/offline helper object |
115 * |
160 * |
116 * @since S60 5.0 |
161 * @since S60 5.2 |
117 * @return online/offline helper |
162 * @return online/offline helper |
118 */ |
163 */ |
119 COnlineOfflineHelper* Helper() const; |
164 COnlineOfflineHelper* Helper() const; |
120 |
165 |
121 private: |
166 private: |
136 CContentRenderer* iContentRenderer; |
181 CContentRenderer* iContentRenderer; |
137 /** Idle Integration helper object, owed */ |
182 /** Idle Integration helper object, owed */ |
138 CAiUiIdleIntegration* iIdleIntegration; |
183 CAiUiIdleIntegration* iIdleIntegration; |
139 /** Online/Offline helper object, owned */ |
184 /** Online/Offline helper object, owned */ |
140 COnlineOfflineHelper* iHelper; |
185 COnlineOfflineHelper* iHelper; |
|
186 /** Timer for Send key long press recognition, owned */ |
|
187 CPeriodic* iKeyTimer; |
|
188 /** Edit mode title pane text, owned */ |
|
189 HBufC* iEditModeTitle; |
141 /** DeviceStatus publisher info */ |
190 /** DeviceStatus publisher info */ |
142 THsPublisherInfo iDeviceStatusInfo; |
191 THsPublisherInfo iDeviceStatusInfo; |
143 /** Flag to indicate whether edit mode is active */ |
192 /** Flag to indicate whether edit mode is active */ |
144 TBool iInEditMode; |
193 TBool iInEditMode; |
145 /** Flag to indicate UI shutdown sequence is ongoing */ |
|
146 TBool iUiShutdown; |
|
147 }; |
194 }; |
148 |
195 |
149 } // namespace AiXmlUiController |
196 } // namespace AiXmlUiController |
150 |
197 |
151 #endif // C_APPUI_H |
198 #endif // C_APPUI_H |