equal
deleted
inserted
replaced
34 class CAknNavigationControlContainer; |
34 class CAknNavigationControlContainer; |
35 class CAknTabGroup; |
35 class CAknTabGroup; |
36 class CAknNavigationDecorator; |
36 class CAknNavigationDecorator; |
37 class CIAUpdate; |
37 class CIAUpdate; |
38 class CIAUpdateParameters; |
38 class CIAUpdateParameters; |
|
39 class CTransitionEffectManager; |
|
40 class MTouchFeedback; |
39 |
41 |
40 // Class declaration |
42 // Class declaration |
41 /** |
43 /** |
42 * @class CClockAppUi |
44 * @class CClockAppUi |
43 * @brief The CAknViewAppUi inheriting class. |
45 * @brief The CAknViewAppUi inheriting class. |
45 */ |
47 */ |
46 class CClockAppUi : public CAknViewAppUi, |
48 class CClockAppUi : public CAknViewAppUi, |
47 public MAknTabObserver, |
49 public MAknTabObserver, |
48 public MIAUpdateObserver |
50 public MIAUpdateObserver |
49 { |
51 { |
|
52 |
|
53 public: // enums |
|
54 |
|
55 enum TTransitionDirection |
|
56 { |
|
57 ETransitionUndefined = 0, |
|
58 ETransitionLeft, |
|
59 ETransitionRight |
|
60 }; |
|
61 |
50 public: // Constructor and destructor |
62 public: // Constructor and destructor |
51 |
63 |
52 /** |
64 /** |
53 * @brief C++ default constructor |
65 * @brief C++ default constructor |
54 */ |
66 */ |
143 * @brief Returns the value of iAppHidden |
155 * @brief Returns the value of iAppHidden |
144 * @return TBool ETrue if the app was Exit hidden. |
156 * @return TBool ETrue if the app was Exit hidden. |
145 */ |
157 */ |
146 TBool IsAppExitHidden(); |
158 TBool IsAppExitHidden(); |
147 |
159 |
|
160 TBool TransitionOngoing() const; |
|
161 |
|
162 void SetTransitionOngoing( TBool aTransitionOngoing ); |
|
163 |
|
164 TInt TransitionGroupId() const; |
|
165 |
|
166 void SetTransitionGroupId( TInt aId ); |
|
167 |
|
168 TTransitionDirection TransitionDirection() const; |
|
169 |
|
170 void SetTransitionDirection( TTransitionDirection aId ); |
|
171 |
|
172 void DoDisappearTransition( CCoeControl* aControl ); |
|
173 |
|
174 void DoAppearTransition( CCoeControl* aControl ); |
|
175 |
|
176 |
148 /** |
177 /** |
149 * @brief Hides or Un-hides the navigation pane. |
178 * @brief Hides or Un-hides the navigation pane. |
150 * @param aVisible ETrue, pane will be visible. EFalse will be hidden. |
179 * @param aVisible ETrue, pane will be visible. EFalse will be hidden. |
151 * @param aViewId The ID used to activate the corresponding tab. |
180 * @param aViewId The ID used to activate the corresponding tab. |
152 */ |
181 */ |
154 |
183 |
155 /** |
184 /** |
156 * @brief Handles IAD related updates. |
185 * @brief Handles IAD related updates. |
157 */ |
186 */ |
158 void HandleIADUpdateL(); |
187 void HandleIADUpdateL(); |
|
188 |
|
189 |
|
190 //papercut Ana/Digital No24Rpeat Start- rajender |
|
191 /** |
|
192 * @brief returns handle to tactile feedback. |
|
193 */ |
|
194 MTouchFeedback* GetFeedback(); |
|
195 //papercut Ana/Digital No24Rpeat End- rajender |
159 |
196 |
160 private: // New functions |
197 private: // New functions |
161 |
198 |
162 /** |
199 /** |
163 * @brief Symbian OS constructor. Performs the second phase of construction. May leave. |
200 * @brief Symbian OS constructor. Performs the second phase of construction. May leave. |
235 /** |
272 /** |
236 * @var iParameters |
273 * @var iParameters |
237 * @brief Object of CIAUpdateParameters class. |
274 * @brief Object of CIAUpdateParameters class. |
238 */ |
275 */ |
239 CIAUpdateParameters* iParameters; |
276 CIAUpdateParameters* iParameters; |
|
277 |
|
278 TBool iTransitionOngoing; |
|
279 TInt iTransitionGroupId; |
|
280 TBool iTactileFeedbackSupported; |
|
281 TTransitionDirection iTransitionDirection; |
|
282 |
|
283 MTouchFeedback* iFeedback; |
240 }; |
284 }; |
241 |
285 |
242 #endif // __CLOCK_APPUI_H__ |
286 #endif // __CLOCK_APPUI_H__ |
243 |
287 |
244 // End of file |
288 // End of file |