|
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 TAknFepUiInputStateJapanesePredictiveBase definition. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 #ifndef __AKN_FEP_UI_INPUT_STATE_JAPANESE_PREDICTIVE_BASE_H__ |
|
31 #define __AKN_FEP_UI_INPUT_STATE_JAPANESE_PREDICTIVE_BASE_H__ |
|
32 |
|
33 // INCLUDES |
|
34 #include <e32std.h> |
|
35 |
|
36 #include "AknFepUiInputStateJapaneseBase.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 * TAknFepUiInputStateJapanesePredictiveBase class. |
|
54 * |
|
55 * @lib AknFep.lib |
|
56 * @since 2.6 |
|
57 */ |
|
58 class TAknFepUiInputStateJapanesePredictiveBase |
|
59 :public TAknFepUiInputStateJapaneseBase |
|
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 TAknFepUiInputStateJapanesePredictiveBase( |
|
70 MAknFepUIManagerStateInterface* aOwner, |
|
71 MAknFepUICtrlContainerJapanese* aUIContainer); |
|
72 |
|
73 public: // Functions from base classes |
|
74 /** |
|
75 * From TAknFepUiInputStateEntryJapaneseMultitap |
|
76 * |
|
77 * @since 2.6 |
|
78 */ |
|
79 void CloseUI(); |
|
80 |
|
81 protected: // Functions from base classes |
|
82 /** |
|
83 * From TAknFepUiInputStateEntryJapaneseMultitap |
|
84 * Handling numeric long-keypress events. |
|
85 * HandleKeyEventL() call this method. |
|
86 * |
|
87 * @since 2.6 |
|
88 * @param aKey The event key code |
|
89 * @return ETrue If aKey was handled |
|
90 */ |
|
91 TBool HandleNumericLongKeyL(TInt aKey); |
|
92 |
|
93 /** |
|
94 * From TAknFepUiInputStateEntryJapaneseMultitap |
|
95 * Handling navigate keypress events. HandleKeyEventL() call this method. |
|
96 * |
|
97 * @since 2.6 |
|
98 * @param aKey The event key code |
|
99 * @param aLength The Length of keypress |
|
100 * @return ETrue If aKey was handled |
|
101 */ |
|
102 TBool HandleNaviKeyL(TInt aKey, TKeyPressLength aLength); |
|
103 |
|
104 /** |
|
105 * From TAknFepUiInputStateEntryJapaneseMultitap |
|
106 * Update inline editing string |
|
107 * |
|
108 * @since 2.6 |
|
109 * @return ETrue If inline editing string was updated |
|
110 */ |
|
111 TBool UpdateInlineEditingCharacterL(); |
|
112 |
|
113 protected: // New Fanctions |
|
114 /** |
|
115 * |
|
116 * |
|
117 * @since 2.6 |
|
118 * @return ETrue |
|
119 */ |
|
120 virtual TBool UpdateCandidateListL(TInt aIndex = 0); |
|
121 }; |
|
122 #endif //__AKN_FEP_UI_INPUT_STATE_JAPANESE_PREDICTIVE_BASE_H__ |
|
123 // End of file |