|
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 AknFepUiInputStateCompletionHiraganaKanji definition. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 #ifndef __AKN_FEP_UI_INPUT_STATE_COMPLETION_HIRAGANA_KANJI_H__ |
|
31 #define __AKN_FEP_UI_INPUT_STATE_COMPLETION_HIRAGANA_KANJI_H__ |
|
32 |
|
33 // INCLUDES |
|
34 #include <e32std.h> |
|
35 |
|
36 #include "AknFepUiInputStateCompletionJapaneseMultitap.h" |
|
37 |
|
38 // CONSTANTS |
|
39 |
|
40 // MACROS |
|
41 |
|
42 // DATA TYPES |
|
43 |
|
44 // FUNCTION PROTOTYPES |
|
45 |
|
46 // FORWARD DECLARATIONS |
|
47 |
|
48 // CLASS DECLARATION |
|
49 class MAknFepUIManagerStateInterface; |
|
50 enum TKeyPressLength; |
|
51 |
|
52 /** |
|
53 * TAknFepUiInputStateCompletionHiraganaKanji class. |
|
54 * |
|
55 * @lib AknFep.lib |
|
56 * @since 2.6 |
|
57 */ |
|
58 class TAknFepUiInputStateCompletionHiraganaKanji |
|
59 :public TAknFepUiInputStateCompletionJapaneseMultitap |
|
60 { |
|
61 public: // Constructors and destructor |
|
62 /** |
|
63 * C++ default Constructor |
|
64 * |
|
65 * @since 2.6 |
|
66 * @param aOwner Object derived MAknFepUIManagerStateInterface |
|
67 * @param aUIContainer MAknFepUICtrlContainerJapanese object |
|
68 */ |
|
69 TAknFepUiInputStateCompletionHiraganaKanji( |
|
70 MAknFepUIManagerStateInterface* aOwner, |
|
71 MAknFepUICtrlContainerJapanese* aUIContainer); |
|
72 |
|
73 protected: // Functions from base classes |
|
74 /** |
|
75 * From TAknFepUiInputStateCompletionJapaneseMultitap |
|
76 * Handling short keypress events of the numeric and the star. |
|
77 * HandleKeyEventL() call this method. |
|
78 * |
|
79 * @since 2.6 |
|
80 * @param aKey The event key code |
|
81 * @return ETrue If aKey was handled |
|
82 */ |
|
83 TBool HandleNumericShortKeyL(TInt aKey); |
|
84 |
|
85 /** |
|
86 * From TAknFepUiInputStateCompletionJapaneseMultitap |
|
87 * Handling numeric long-keypress events. |
|
88 * HandleKeyEventL() call this method. |
|
89 * |
|
90 * @since 2.6 |
|
91 * @param aKey The event key code |
|
92 * @return ETrue If aKey was handled |
|
93 */ |
|
94 TBool HandleNumericLongKeyL(TInt aKey); |
|
95 |
|
96 /** |
|
97 * From TAknFepUiInputStateCompletionJapaneseMultitap |
|
98 * Handling auxiliary keypress events including OK and Backspace. |
|
99 * HandleKeyEventL() call this method. |
|
100 * |
|
101 * @since 2.6 |
|
102 * @param aKey The event key code |
|
103 * @param aLength The Length of keypress |
|
104 * @return ETrue If aKey was handled |
|
105 */ |
|
106 TBool HandleAuxKeyL(TInt aKey, TKeyPressLength aLength); |
|
107 |
|
108 /** |
|
109 * From TAknFepUiInputStateCompletionJapaneseMultitap |
|
110 * Update inline editing string |
|
111 * |
|
112 * @since 2.6 |
|
113 * @return ETrue If inline editing string was updated |
|
114 */ |
|
115 TBool UpdateInlineEditingCharacterL(); |
|
116 }; |
|
117 #endif //__AKN_FEP_UI_INPUT_STATE_COMPLETION_HIRAGANA_KANJI_H__ |
|
118 // End of file |