|
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 TAknFepUiInputStateCompletionKatakana definition. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 #ifndef __AKN_FEP_UI_INPUT_STATE_COMPLETION_KATAKANA_H__ |
|
31 #define __AKN_FEP_UI_INPUT_STATE_COMPLETION_KATAKANA_H__ |
|
32 // INCLUDES |
|
33 #include <e32std.h> |
|
34 |
|
35 #include "AknFepUiInputStateCompletionJapaneseMultitap.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 |
|
50 /** |
|
51 * TAknFepUiInputStateCompletionLatinJapanese class. |
|
52 * |
|
53 * @lib AknFep.lib |
|
54 * @since 2.6 |
|
55 */ |
|
56 class TAknFepUiInputStateCompletionKatakana |
|
57 :public TAknFepUiInputStateCompletionJapaneseMultitap |
|
58 { |
|
59 public: // Constructors and destructor |
|
60 /** |
|
61 * C++ default Constructor |
|
62 * |
|
63 * @since 2.6 |
|
64 * @param aOwner Object derived MAknFepUIManagerStateInterface |
|
65 * @param aUIContainer MAknFepUICtrlContainerJapanese object |
|
66 */ |
|
67 TAknFepUiInputStateCompletionKatakana( |
|
68 MAknFepUIManagerStateInterface* aOwner, |
|
69 MAknFepUICtrlContainerJapanese* aUIContainer); |
|
70 |
|
71 protected: // Functions from base classes |
|
72 /** |
|
73 * From AknFepUiInputStateCompletionJapaneseMultitap |
|
74 * Handling short keypress events of the numeric and the star. |
|
75 * HandleKeyEventL() call this method. |
|
76 * |
|
77 * @since 2.6 |
|
78 * @param aKey The event key code |
|
79 * @return ETrue If aKey was handled |
|
80 */ |
|
81 TBool HandleNumericShortKeyL(TInt aKey); |
|
82 |
|
83 /** |
|
84 * From TAknFepUiInputStateJapaneseBase |
|
85 * Update inline editing string |
|
86 * |
|
87 * @since 3.0 |
|
88 * @return ETrue If inline editing string was updated |
|
89 */ |
|
90 TBool UpdateInlineEditingCharacterL(); |
|
91 |
|
92 /** |
|
93 * From TAknFepUiInputStateJapaneseBase |
|
94 * Commit inline editing string |
|
95 * |
|
96 * @since 3.0 |
|
97 * @return ETrue If inline editing string was updated |
|
98 */ |
|
99 TBool CommitInlineEditingCharacterL(); |
|
100 |
|
101 /** |
|
102 * Check Full-width hiragana |
|
103 * |
|
104 * @since 3.0 |
|
105 * @return ETrue If there are some hiragana characters |
|
106 */ |
|
107 TBool IsFullHiragana(const TChar aChr); |
|
108 |
|
109 /** |
|
110 * From TAknFepUiInputStateJapaneseBase |
|
111 * Handling auxiliary keypress events including OK and Backspace. |
|
112 * HandleKeyEventL() call this method. |
|
113 * |
|
114 * @since 3.1 |
|
115 * @param aKey The event key code |
|
116 * @param aLength The Length of keypress |
|
117 * @return ETrue If aKey was handled |
|
118 */ |
|
119 TBool HandleAuxKeyL(TInt aKey, TKeyPressLength aLength); |
|
120 }; |
|
121 #endif //__AKN_FEP_UI_INPUT_STATE_COMPLETION_FULL_LATIN_H__ |
|
122 // End of file |