fep/aknfep/UiPlugins/AknFepUiInterface/AvkonImpl/inc/AknFepUIAvkonCtrlContainerChinese.h
equal
deleted
inserted
replaced
38 class CAknFepUICtrlCandidatePane; |
38 class CAknFepUICtrlCandidatePane; |
39 class CAknFepUICtrlPinyinPopup; |
39 class CAknFepUICtrlPinyinPopup; |
40 class CAknFepUICtrlPinyinEEP; |
40 class CAknFepUICtrlPinyinEEP; |
41 class MAknFepManagerUIInterface; |
41 class MAknFepManagerUIInterface; |
42 class CAknFepUiLayoutDataMgr; |
42 class CAknFepUiLayoutDataMgr; |
43 class MCoeFocusObserver; |
|
44 class MAknFepUiStateCtrl; |
|
45 |
|
46 class MAknFepUIEventObserver |
|
47 { |
|
48 public: |
|
49 /** |
|
50 * Click close pane to close |
|
51 */ |
|
52 virtual void FepUIClosePressed() = 0; |
|
53 }; |
|
54 |
|
55 class MAknFepChineseUiMgr |
|
56 { |
|
57 public: |
|
58 /** |
|
59 * Submit text |
|
60 * @param aText committed text |
|
61 */ |
|
62 virtual void SubmitSelectedTextL( const TDesC& aText ) = 0; |
|
63 |
|
64 /** |
|
65 * Close container |
|
66 */ |
|
67 virtual void CloseContainer() = 0; |
|
68 }; |
|
69 |
43 |
70 class MAknFepUICtrlPinyinPopupSizeChangedObserver |
44 class MAknFepUICtrlPinyinPopupSizeChangedObserver |
71 { |
45 { |
72 public: |
46 public: |
73 /// this is called when the selection popup changes size |
47 /// this is called when the selection popup changes size |
79 |
53 |
80 NONSHARABLE_CLASS(CAknFepUICtrlContainerChinese) |
54 NONSHARABLE_CLASS(CAknFepUICtrlContainerChinese) |
81 : |
55 : |
82 public CCoeControl, |
56 public CCoeControl, |
83 public MAknFepUICtrlPinyinPopupSizeChangedObserver, |
57 public MAknFepUICtrlPinyinPopupSizeChangedObserver, |
84 public MAknFepUICtrlContainerChinese, |
58 public MAknFepUICtrlContainerChinese |
85 public MAknFepChineseUiMgr |
|
86 { |
59 { |
87 public: |
60 public: |
88 /** |
61 /** |
89 * first phase construction |
62 * first phase construction |
90 */ |
63 */ |
216 * Set FepMan |
189 * Set FepMan |
217 * |
190 * |
218 * @return if not enabled, return EFalse |
191 * @return if not enabled, return EFalse |
219 */ |
192 */ |
220 void SetFepMan( MAknFepManagerUIInterface* aFepMan ); |
193 void SetFepMan( MAknFepManagerUIInterface* aFepMan ); |
221 |
|
222 /** |
|
223 * Handle pointer event |
|
224 * @param aPointerEvent pointer event |
|
225 * |
|
226 */ |
|
227 void HandlePointerEventL(const TPointerEvent& aPointerEvent); |
|
228 |
|
229 /** |
|
230 * Set observer |
|
231 * @param aObserver Obsever object |
|
232 * |
|
233 */ |
|
234 void SetFepUiStateCtrl( MAknFepUiStateCtrl* aFepUiState ); |
|
235 |
|
236 /** |
|
237 * Submit text |
|
238 * @param aText committed text |
|
239 */ |
|
240 void SubmitSelectedTextL(const TDesC& aText); |
|
241 |
|
242 /** |
|
243 * Close container |
|
244 */ |
|
245 void CloseContainer(); |
|
246 |
194 |
247 public: // from CCoeControl |
195 public: // from CCoeControl |
248 |
196 |
249 /** |
197 /** |
250 * size changed |
198 * size changed |
274 * |
222 * |
275 */ |
223 */ |
276 virtual void Draw(const TRect& aRect) const; |
224 virtual void Draw(const TRect& aRect) const; |
277 |
225 |
278 virtual void HandleResourceChange(TInt aType); |
226 virtual void HandleResourceChange(TInt aType); |
279 |
|
280 |
227 |
281 protected: // From CCoeControl |
228 protected: // From CCoeControl |
282 TTypeUid::Ptr MopSupplyObject(TTypeUid aId); |
229 TTypeUid::Ptr MopSupplyObject(TTypeUid aId); |
283 |
230 |
284 public: // from MAknFepUICtrlPinyinPopupSizeChangedObserver |
231 public: // from MAknFepUICtrlPinyinPopupSizeChangedObserver |
362 * @param aInnerRect filled with inner rect coords |
309 * @param aInnerRect filled with inner rect coords |
363 * |
310 * |
364 */ |
311 */ |
365 void CalculateFrameRects(TRect& aOuterRect, TRect& aInnerRect) const; |
312 void CalculateFrameRects(TRect& aOuterRect, TRect& aInnerRect) const; |
366 |
313 |
367 /** |
|
368 * Close UI |
|
369 * |
|
370 */ |
|
371 void CloseUI(); |
|
372 |
|
373 private: |
314 private: |
374 CAknFepUiLayoutDataMgr* iLafDataMgr; |
315 CAknFepUiLayoutDataMgr* iLafDataMgr; |
375 CAknFepUICtrlInputPane* iInputPane; |
316 CAknFepUICtrlInputPane* iInputPane; |
376 CAknFepUICtrlCandidatePane* iCandidatePane; |
317 CAknFepUICtrlCandidatePane* iCandidatePane; |
377 CAknFepUICtrlPinyinPopup* iPinyinPopupWindow; |
318 CAknFepUICtrlPinyinPopup* iPinyinPopupWindow; |
378 CAknFepUICtrlPinyinEEP* iEditPane; |
319 CAknFepUICtrlPinyinEEP* iEditPane; |
379 CAknsFrameBackgroundControlContext* iBgContext; |
320 CAknsFrameBackgroundControlContext* iBgContext; |
380 |
|
381 |
|
382 |
321 |
383 private: |
322 private: |
384 TBool iEnabled; |
323 TBool iEnabled; |
385 TPaneLayout iPaneLayout; |
324 TPaneLayout iPaneLayout; |
386 TBool iIsShownWithPopupWindows; |
325 TBool iIsShownWithPopupWindows; |
396 TBool isPCLPosed; |
335 TBool isPCLPosed; |
397 TBool iPhraseCreationLaf; |
336 TBool iPhraseCreationLaf; |
398 |
337 |
399 TInt iPhraseCreation; |
338 TInt iPhraseCreation; |
400 MAknFepManagerUIInterface* iFepMan; |
339 MAknFepManagerUIInterface* iFepMan; |
401 MAknFepUiStateCtrl* iFepUiState; |
|
402 }; |
340 }; |
403 #endif // __AKN_FEP_UI_AVKON_CONTAINER_CHINESE_H__ |
341 #endif // __AKN_FEP_UI_AVKON_CONTAINER_CHINESE_H__ |
404 |
342 |
405 // End of file |
343 // End of file |
406 |
344 |