|
1 /* |
|
2 * Copyright (c) 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 CAknFepUIManagerKorean definition. |
|
16 * |
|
17 */ |
|
18 #ifndef __AKN_FEP_UI_MANAGER_KOREAN_H__ |
|
19 #define __AKN_FEP_UI_MANAGER_KOREAN_H__ |
|
20 |
|
21 // INCLUDES |
|
22 #include <uikon.hrh> //TAknEditorNumericKeymap |
|
23 |
|
24 #include "AknFepUiManagerBase.h" |
|
25 #include "AknFepUiInputStateBase.h" |
|
26 |
|
27 // MACROS |
|
28 |
|
29 // DATA TYPES |
|
30 |
|
31 // FUNCTION PROTOTYPES |
|
32 |
|
33 // FORWARD DECLARATIONS |
|
34 |
|
35 // CLASS DECLARATION |
|
36 class MAknFepManagerInterface; |
|
37 class MAknFepManagerUIInterface; |
|
38 class MAknFepUIManagerStateInterface; |
|
39 class MAknFepUIManagerStateInterface; |
|
40 |
|
41 |
|
42 /** |
|
43 * CAknFepUIManagerWestern class. |
|
44 * This class is mounted based on CAknFepUiManager. |
|
45 * |
|
46 * @lib AknFep.lib |
|
47 * @since 2.6 |
|
48 */ |
|
49 class CAknFepUIManagerKorean : public CAknFepUIManagerBase |
|
50 { |
|
51 private: |
|
52 /** |
|
53 * private constants |
|
54 */ |
|
55 enum |
|
56 { |
|
57 EBaseLanguageNumericKeymapIndex = 0x00FF, |
|
58 EMaskShiftOffset = 8 |
|
59 }; |
|
60 |
|
61 public: // Constructors and destructor |
|
62 /** |
|
63 * |
|
64 * |
|
65 * @since 2.6 |
|
66 */ |
|
67 static CAknFepUIManagerKorean* NewL(MAknFepManagerUIInterface* aFepMan, CAknFepCaseManager* aCaseMan, TLanguage aLanguage); |
|
68 |
|
69 /** |
|
70 * |
|
71 * |
|
72 * @since 2.6 |
|
73 */ |
|
74 virtual ~CAknFepUIManagerKorean(); |
|
75 |
|
76 public: // Functions from base classes |
|
77 /** |
|
78 * From CAknFepUIManagerBase |
|
79 * |
|
80 * @since 2.6 |
|
81 */ |
|
82 TBool HandleKeyL( TInt aKey, TKeyPressLength aLength, TEventCode aEventCode = EEventKey ); |
|
83 |
|
84 /** |
|
85 * From CAknFepUIManagerBase |
|
86 * |
|
87 * @since 2.6 |
|
88 */ |
|
89 void CloseUI(); |
|
90 |
|
91 /** |
|
92 * From CAknFepUIManagerBase |
|
93 * |
|
94 * @since 2.6 |
|
95 */ |
|
96 TInt SupportLanguage(TInt aMode) const; |
|
97 |
|
98 /** |
|
99 * Activates western predictive entry UI to inline editing state |
|
100 * by changing input state to entry state. |
|
101 * |
|
102 * @since 2.6 |
|
103 */ |
|
104 void ActivateUI(); |
|
105 |
|
106 /** |
|
107 * From CAknFepUIManagerBase |
|
108 * |
|
109 * @since 2.6 |
|
110 */ |
|
111 TUIState ChangeState(TUIState aState); |
|
112 |
|
113 private: // New Functions |
|
114 /** |
|
115 * |
|
116 * |
|
117 * @since 2.6 |
|
118 */ |
|
119 void ConstructL(TLanguage aLanguage); |
|
120 |
|
121 /** |
|
122 * |
|
123 * |
|
124 * @since 2.6 |
|
125 */ |
|
126 CAknFepUIManagerKorean(MAknFepManagerUIInterface* aFepMan, CAknFepCaseManager* aCaseMan); |
|
127 |
|
128 /** |
|
129 * |
|
130 * |
|
131 * @since 2.6 |
|
132 */ |
|
133 |
|
134 TAknFepInputStateBase* FepUIState(); |
|
135 |
|
136 |
|
137 |
|
138 private: // Data |
|
139 |
|
140 TAknFepInputStateBase iFepUiState; |
|
141 |
|
142 }; |
|
143 |
|
144 #endif //__AKN_FEP_UI_MANAGER_KOREAN_H__ |
|
145 |
|
146 // End of file |