|
1 /* |
|
2 * Copyright (c) 2004 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: |
|
15 * Provides the aknfepinputstatespellingpinyinphrasecreation definition. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 #ifndef T_AKNFEPINPUTSTATESPELLINGPINYINPHRASECREATION_H |
|
31 #define T_AKNFEPINPUTSTATESPELLINGPINYINPHRASECREATION_H |
|
32 |
|
33 #include "aknfepinputstatepinyinphrasecreationbase.h" |
|
34 |
|
35 class TAknFepInputStateSpellingPinyinPhraseCreation : public TAknFepInputStatePinyinPhraseCreationBase |
|
36 { |
|
37 public: |
|
38 |
|
39 /** |
|
40 * C++ construct. |
|
41 * |
|
42 * @since S60 v5.0. |
|
43 * @return self object. |
|
44 */ |
|
45 TAknFepInputStateSpellingPinyinPhraseCreation( |
|
46 MAknFepUIManagerStateInterface* aOwner, |
|
47 MAknFepUICtrlContainerChinese* aUIContainer); |
|
48 |
|
49 /** |
|
50 * HandleKeyL. |
|
51 * |
|
52 * @since S60 v5.0. |
|
53 * @param aKey the input key. |
|
54 * @param TKeyPressLength the key press length. |
|
55 * @return ETrue. |
|
56 */ |
|
57 TBool HandleKeyL(TInt aKey, TKeyPressLength aLength); |
|
58 |
|
59 /** |
|
60 * Initialize State. |
|
61 * |
|
62 * @since S60 v5.0. |
|
63 * @return none. |
|
64 */ |
|
65 void InitializeStateL(); |
|
66 |
|
67 private: |
|
68 |
|
69 /** |
|
70 * Implicity Show Info. |
|
71 * |
|
72 * @since S60 v5.0 |
|
73 * @return None. |
|
74 */ |
|
75 void ImplicityShowInfo( TBool aGetScreenCoordinates = EFalse ); |
|
76 |
|
77 /** |
|
78 * Refresh Show Info. |
|
79 * |
|
80 * @since S60 v5.0 |
|
81 * @return None. |
|
82 */ |
|
83 void RefreshShowInfo(); |
|
84 |
|
85 /** |
|
86 * KeyBackspace Or KeyUpArrow |
|
87 * |
|
88 * @since S60 v5.0 |
|
89 * @param TKeyPressLength the key press length. |
|
90 * @return None. |
|
91 */ |
|
92 void HandleKeyBackspaceOrKeyUpArrow( TKeyPressLength aLength ); |
|
93 |
|
94 |
|
95 /** |
|
96 * KeyBackspace And KeyUpArrow |
|
97 * |
|
98 * @since S60 v5.0 |
|
99 * @param TKeyPressLength the key press length. |
|
100 * @return None. |
|
101 */ |
|
102 void HandleKeyOKOrKeyDownArrowOrKeyCBA1( TKeyPressLength aLength ); |
|
103 |
|
104 /** |
|
105 * KeyRightArrow. |
|
106 * |
|
107 * @since S60 v5.0 |
|
108 * @return None. |
|
109 */ |
|
110 void HandleKeyRightArrow(); |
|
111 |
|
112 /** |
|
113 * KeyLeftArrow. |
|
114 * |
|
115 * @since S60 v5.0 |
|
116 * @return None. |
|
117 */ |
|
118 void HandleKeyLeftArrow(); |
|
119 /** |
|
120 * Refresh Valid Keystroke. |
|
121 * |
|
122 * @since S60 v5.0 |
|
123 * @return ETrue refresh ok, others EFalse. |
|
124 */ |
|
125 TBool RefreshValidKeystroke(); |
|
126 |
|
127 /** |
|
128 * Refresh Valid Keystroke. |
|
129 * |
|
130 * @since S60 v5.0 |
|
131 * @return None. |
|
132 */ |
|
133 void RefreshValidKeystrokeL(); |
|
134 |
|
135 }; |
|
136 |
|
137 #endif //T_AKNFEPINPUTSTATESPELLINGPINYINPHRASECREATION_H |
|
138 |
|
139 // End of file |