|
1 /* |
|
2 * Copyright (c) 2002-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 TAknFepUiInputStateCompletionJapaneseMultitap definition. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 #ifndef __AKN_FEP_UI_INPUT_STATE_COMPLETION_JAPANESE_MULTITAP_H__ |
|
31 #define __AKN_FEP_UI_INPUT_STATE_COMPLETION_JAPANESE_MULTITAP_H__ |
|
32 // INCLUDES |
|
33 #include <e32std.h> |
|
34 |
|
35 #include "AknFepUiInputStateJapaneseBase.h" |
|
36 |
|
37 // CONSTANTS |
|
38 |
|
39 // MACROS |
|
40 |
|
41 // DATA TYPES |
|
42 |
|
43 // FUNCTION PROTOTYPES |
|
44 |
|
45 // FORWARD DECLARATIONS |
|
46 |
|
47 // CLASS DECLARATION |
|
48 class MAknFepUIManagerStateInterface; |
|
49 enum TKeyPressLength; |
|
50 |
|
51 /** |
|
52 * TAknFepUiInputStateCompletionJapaneseMultitap class. |
|
53 * |
|
54 * @lib AknFep.lib |
|
55 * @since 2.6 |
|
56 */ |
|
57 class TAknFepUiInputStateCompletionJapaneseMultitap |
|
58 :public TAknFepUiInputStateJapaneseBase |
|
59 { |
|
60 public: // Constructors and destructor |
|
61 /** |
|
62 * C++ default Constructor |
|
63 * |
|
64 * @since 2.6 |
|
65 * @param aOwner Object derived MAknFepUIManagerStateInterface |
|
66 * @param aUIContainer MAknFepUICtrlContainerJapanese object |
|
67 */ |
|
68 TAknFepUiInputStateCompletionJapaneseMultitap( |
|
69 MAknFepUIManagerStateInterface* aOwner, |
|
70 MAknFepUICtrlContainerJapanese* aUIContainer); |
|
71 |
|
72 public: // Functions from base classes |
|
73 /** |
|
74 * From TAknFepUiInputStateJapaneseBase |
|
75 * Handling Command events. This Method is called by CAknFepUIManagerJapanese. |
|
76 * |
|
77 * @since 2.6 |
|
78 * @param aCommandId Command ID value |
|
79 */ |
|
80 void HandleCommandL(TInt aCommandId); |
|
81 |
|
82 protected: // From TAknFepUiInputStateJapaneseBase |
|
83 /** |
|
84 * From TAknFepUiInputStateJapaneseBase |
|
85 * Handling short keypress events of the numeric and the star. |
|
86 * HandleKeyEventL() call this method. |
|
87 * |
|
88 * @since 2.6 |
|
89 * @param aKey The event key code |
|
90 * @return ETrue If aKey was handled |
|
91 */ |
|
92 TBool HandleNumericShortKeyL(TInt aKey); |
|
93 |
|
94 /** |
|
95 * From TAknFepUiInputStateJapaneseBase |
|
96 * Handling numeric long-keypress events. |
|
97 * HandleKeyEventL() call this method. |
|
98 * |
|
99 * @since 2.6 |
|
100 * @param aKey The event key code |
|
101 * @return ETrue If aKey was handled |
|
102 */ |
|
103 TBool HandleNumericLongKeyL(TInt aKey); |
|
104 |
|
105 /** |
|
106 * From TAknFepUiInputStateJapaneseBase |
|
107 * Handling navigate keypress events. HandleKeyEventL() call this method. |
|
108 * |
|
109 * @since 2.6 |
|
110 * @param aKey The event key code |
|
111 * @param aLength The Length of keypress |
|
112 * @return ETrue If aKey was handled |
|
113 */ |
|
114 TBool HandleNaviKeyL(TInt aKey, TKeyPressLength aLength); |
|
115 |
|
116 /** |
|
117 * From TAknFepUiInputStateJapaneseBase |
|
118 * Handling auxiliary keypress events including OK and Backspace. |
|
119 * HandleKeyEventL() call this method. |
|
120 * |
|
121 * @since 2.6 |
|
122 * @param aKey The event key code |
|
123 * @param aLength The Length of keypress |
|
124 * @return ETrue If aKey was handled |
|
125 */ |
|
126 TBool HandleAuxKeyL(TInt aKey, TKeyPressLength aLength); |
|
127 |
|
128 /** |
|
129 * From TAknFepUiInputStateJapaneseBase |
|
130 * Update inline editing string |
|
131 * |
|
132 * @since 2.6 |
|
133 * @return ETrue If inline editing string was updated |
|
134 */ |
|
135 TBool UpdateInlineEditingCharacterL(); |
|
136 |
|
137 /** |
|
138 * From TAknFepUiInputStateJapaneseBase |
|
139 * Commit inline editing string |
|
140 * |
|
141 * @since 2.6 |
|
142 * @return ETrue If inline editing string was updated |
|
143 */ |
|
144 TBool CommitInlineEditingCharacterL(); |
|
145 |
|
146 protected: // New Functions |
|
147 /** |
|
148 * |
|
149 * |
|
150 * @since 2.6 |
|
151 * @param aKey |
|
152 * @return ETrue |
|
153 */ |
|
154 virtual TBool ProcessNumericLongKeyPressL(TInt aKey); |
|
155 }; |
|
156 #endif //__AKN_FEP_UI_INPUT_STATE_COMPLETION_JAPANESE_MULTITAP_H__ |
|
157 // End of file |