|
1 /* |
|
2 * Copyright (c) 2002-2005 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: header file of Pinyin phrase predictive Qwerty state |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 #ifndef T_AKNFEPUIINPUTSTATECANDIDATECHINESE_H |
|
30 #define T_AKNFEPUIINPUTSTATECANDIDATECHINESE_H |
|
31 |
|
32 // User includes |
|
33 #include "AknFepUiInputStateCandidateBase.h" |
|
34 |
|
35 /** |
|
36 * TAknFepInputStateCandidateChinese class. |
|
37 * |
|
38 * Implementation of Chinese candidate state |
|
39 * |
|
40 * @lib avkonfep.dll |
|
41 * @since S60 v3.2 |
|
42 */ |
|
43 class TAknFepInputStateCandidateChinese : public TAknFepInputStateCandidateBase |
|
44 { |
|
45 public: |
|
46 |
|
47 /** |
|
48 * C++ default constructor |
|
49 * |
|
50 * @since S60 V3.2 |
|
51 * @param aOwner Pointer to UI manager state interface |
|
52 * @param aUIContainer Pointer to Chinese UI container |
|
53 */ |
|
54 |
|
55 TAknFepInputStateCandidateChinese(MAknFepUIManagerStateInterface* aOwner, |
|
56 MAknFepUICtrlContainerChinese* aUIContainer); |
|
57 |
|
58 /** |
|
59 * From TAknFepInputStateCandidate |
|
60 * Handle system key press event |
|
61 * |
|
62 * @since S60 v3.2 |
|
63 * @param aKey System key |
|
64 * @param aLength Key press length |
|
65 * @return ETrue if handle, otherwise this class do not handle this key |
|
66 */ |
|
67 |
|
68 TBool HandleKeyL(TInt aKey, TKeyPressLength aLength); |
|
69 |
|
70 /** |
|
71 * From MPtiObserver interface |
|
72 * Call this function when getting last word in selection list |
|
73 * |
|
74 * @since S60 v3.2 |
|
75 * @return None |
|
76 */ |
|
77 |
|
78 protected: |
|
79 |
|
80 /** |
|
81 * Handle horizontal navigation Key |
|
82 * |
|
83 * @since S60 v3.2 |
|
84 * @param aKey System key |
|
85 * @return ETrue if handle, otherwise this class do not handle this key |
|
86 */ |
|
87 TBool HandleHorizontalNavigation(TInt aKey); |
|
88 |
|
89 /** |
|
90 * Handle vertical navigation Key |
|
91 * |
|
92 * @since S60 v3.2 |
|
93 * @param aKey System key |
|
94 * @return ETrue if handle, otherwise this class do not handle this key |
|
95 */ |
|
96 TBool HandleVerticalNavigation(TInt aKey); |
|
97 |
|
98 /** |
|
99 * Update indicator |
|
100 * |
|
101 * @since S60 v3.2 |
|
102 * @param aKey System key |
|
103 * @return ETrue if handle, otherwise this class do not handle this key |
|
104 */ |
|
105 void UpdateIndicator(); |
|
106 |
|
107 }; |
|
108 |
|
109 #endif //T_AKNFEPUIINPUTSTATECANDIDATECHINESE_H |
|
110 |
|
111 // End of file |