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