|
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: Internal Central Repository keys. |
|
15 * |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef AVKON_INTERNAL_CR_KEYS_H |
|
21 #define AVKON_INTERNAL_CR_KEYS_H |
|
22 |
|
23 const TUid KCRUidAvkon = { 0x101F876E }; |
|
24 |
|
25 /** |
|
26 * Id of the currently active UI layout, integer value. |
|
27 * In first boot this key does not exist - will be set during boot. |
|
28 * |
|
29 * Possible values: |
|
30 * |
|
31 * Any value of TAknLayoutId |
|
32 */ |
|
33 const TUint32 KAknLayoutId = 0x00000001; |
|
34 |
|
35 /** |
|
36 * This flag indicates if new contacts note is active. Integer value. |
|
37 * |
|
38 * Value 0 or KErrNotFound return value means that NCN is not active. |
|
39 * Other values mean that NCN is active. |
|
40 */ |
|
41 const TUint32 KAknNewContactsNoteActive = 0x00000002; |
|
42 |
|
43 /** |
|
44 * Products must configure this value depending in which orientation |
|
45 * applications are started and run when the application does not want |
|
46 * to specify any orientation. |
|
47 * |
|
48 * Possible orientations are: |
|
49 * |
|
50 * EAppUiOrientationAutomatic = 0 |
|
51 * EAppUiOrientationPortrait = 1 |
|
52 * EAppUiOrientationLandscape = 2 |
|
53 * |
|
54 * EAppUiOrientationAutomatic is default in the platform. Follows the |
|
55 * device orientation. |
|
56 */ |
|
57 const TUint32 KAknDefaultAppOrientation = 0x00000003; |
|
58 |
|
59 /** |
|
60 * Qwerty mode status. This key is updated by Avkon according to the |
|
61 * EKeyQwertyOn (=EKeyApplication7) & EKeyQwertyOff (=EKeyApplication8) key events. |
|
62 * The events are sent by keyboard driver when qwerty mode is |
|
63 * activated and deactivated. |
|
64 * |
|
65 * Possible values: |
|
66 * 0: Qwerty input mode is not active. |
|
67 * 1: Qwerty input mode is active. |
|
68 */ |
|
69 const TUint32 KAknQwertyInputModeActive = 0x00000004; |
|
70 |
|
71 /** |
|
72 * String the recently used characters |
|
73 * Total size of this data is 80 byte (40 unicode characters). |
|
74 * |
|
75 * Possible values: |
|
76 * |
|
77 * 1-10 length |
|
78 * 11-20 length |
|
79 * 21-30 length |
|
80 * 31-40 length |
|
81 * |
|
82 */ |
|
83 const TUint32 KAknRecentSctData = 0x00000005; |
|
84 |
|
85 /** |
|
86 * Id of the currently active UI zoom level, integer value. |
|
87 * In first boot this key does not exist - will be set during boot. |
|
88 * |
|
89 * Possible values: |
|
90 * |
|
91 * Any value of TAknUiZoom |
|
92 */ |
|
93 const TUint32 KAknGlobalUiZoom = 0x00000006; |
|
94 |
|
95 /** |
|
96 * Value indicates if the extended status pane is the default status pane |
|
97 * type in portrait mode. |
|
98 * |
|
99 * Possible values are: |
|
100 * |
|
101 * 0: Extended status pane is not default status pane |
|
102 * 1: Extended status pane is default status pane |
|
103 * |
|
104 */ |
|
105 const TUint32 KAknExtendedPortraitStatusPane = 0x00000007; |
|
106 |
|
107 /** |
|
108 * Value indicates if list stretching is used by default or not. |
|
109 * |
|
110 * Possible values are: |
|
111 * |
|
112 * 0: List stretching is not used by default. |
|
113 * 1: List stretching is used by default. |
|
114 * |
|
115 */ |
|
116 const TUint32 KAknAutomaticListStretching = 0x00000008; |
|
117 |
|
118 /** |
|
119 * Value chooses location editor data format |
|
120 * |
|
121 * Possible values are: |
|
122 * |
|
123 * 0: Degrees and Decimal degrees |
|
124 * 1: degrees, minutes and decimal minutes |
|
125 * 2: degrees, minutes, seconds, decimal seconds |
|
126 * |
|
127 */ |
|
128 const TUint32 KAknLocationEditorCoordinateDataFormat = 0x00000009; |
|
129 |
|
130 /** |
|
131 * Value indicates if MiddleSoftKey is enabled or not. |
|
132 * |
|
133 * Possible values are: |
|
134 * |
|
135 * 0: MSK is not used by default. |
|
136 * 1: MSK is used by default. |
|
137 * |
|
138 */ |
|
139 const TUint32 KAknMiddleSoftkeyEnabled = 0x0000000A; |
|
140 |
|
141 /** |
|
142 * The QWERTY keyboard layout for generic QWERTY framework. |
|
143 * |
|
144 * Possible values: |
|
145 * 0: No Keyboard |
|
146 * 1: Keyboard with 12 key |
|
147 * 2: QWERTY 4x12 layout |
|
148 * 3: QWERTY 4x10 layout |
|
149 * 4: QWERTY 3 x 11 layout |
|
150 * 5: Half QWERTY |
|
151 * 6: Custom QWERTY |
|
152 */ |
|
153 |
|
154 const TUint32 KAknKeyBoardLayout = 0x0000000B; |
|
155 |
|
156 /** |
|
157 * Touch compatibility mode settings flags |
|
158 * |
|
159 * Possible values are: |
|
160 * |
|
161 * Bit0: Applications may be started in compa-mode |
|
162 * |
|
163 */ |
|
164 const TUint32 KAknCompaModeSettings = 0x0000000C; |
|
165 |
|
166 /** |
|
167 * Value indicates if Avkon components support transparency. |
|
168 * Changing this key needs device restart. |
|
169 * |
|
170 * Using this key needs WSINI.ini configuration with keyword TRANSPARENCY |
|
171 * |
|
172 * Possible values are: |
|
173 * |
|
174 * 0: Transparency code is not executed in Avkon code |
|
175 * 1: Avkon components utilize transparency |
|
176 * |
|
177 */ |
|
178 const TUint32 KAknAvkonTransparencyEnabled = 0x0000000D; |
|
179 |
|
180 /** |
|
181 * The value indicates if adaptive search can be utilized with find pane |
|
182 * |
|
183 * The applications itself decide if they will support the feature, if available. |
|
184 * |
|
185 * Possible values are: |
|
186 * |
|
187 * 0: The adaptive search is disabled from the applications |
|
188 * 1: The adaptive search is enabled for the applications |
|
189 * |
|
190 */ |
|
191 const TUint32 KAknAvkonAdaptiveSearchEnabled = 0x0000000E; |
|
192 |
|
193 /** |
|
194 * Touch compatibility mode saved transition effects state |
|
195 * |
|
196 * Possible values are: |
|
197 * |
|
198 * Bit0..30: Saved effects state (KThemesTransitionEffects key value) |
|
199 * Bit31: Effects are disabled |
|
200 * |
|
201 */ |
|
202 const TUint32 KAknCompaModeEffects = 0x0000000F; |
|
203 |
|
204 /** |
|
205 * The value indicates the input method for adaptive search in |
|
206 * Simplified Chinese language |
|
207 * |
|
208 * Key is created when user selects the language for the first time. |
|
209 * |
|
210 * Possible values are: |
|
211 * |
|
212 * 0: Pinyin |
|
213 * 1: Stroke |
|
214 * |
|
215 */ |
|
216 const TUint32 KAknAdaptiveSearchChinesePRC = 0x00000010; |
|
217 |
|
218 /** |
|
219 * The value indicates the input method for adaptive search in |
|
220 * Taiwan traditional Chinese language |
|
221 * |
|
222 * Key is created when user selects the language for the first time. |
|
223 * |
|
224 * Possible values are: |
|
225 * |
|
226 * 0: Zhuyin |
|
227 * 1: Stroke |
|
228 * |
|
229 */ |
|
230 const TUint32 KAknAdaptiveSearchChineseTW = 0x00000011; |
|
231 |
|
232 /** |
|
233 * The value indicates the input method for adaptive search in |
|
234 * Hongkong traditional Chinese language |
|
235 * |
|
236 * Key is created when user selects the language for the first time. |
|
237 * |
|
238 * Possible values are: |
|
239 * |
|
240 * 0: Stroke |
|
241 * 1: Cangjie |
|
242 * |
|
243 */ |
|
244 const TUint32 KAknAdaptiveSearchChineseHongkong = 0x00000012; |
|
245 |
|
246 /** |
|
247 * Touch compatibility mode local variation flags |
|
248 * |
|
249 * Possible values are: |
|
250 * |
|
251 * Bit0: Compa-mode is enabled in device |
|
252 * |
|
253 */ |
|
254 const TUint32 KAknCompaModeFeatures = 0x00000013; |
|
255 |
|
256 /** |
|
257 * The value indicates the last used input method for |
|
258 * adaptive search in any Chinese language variant. |
|
259 * |
|
260 * Value is the CenRep key id of the input methdod. |
|
261 * One of the following: |
|
262 * KAknAdaptiveSearchChinesePRC |
|
263 * KAknAdaptiveSearchChineseTW |
|
264 * KAknAdaptiveSearchChineseHongkong |
|
265 * |
|
266 * Key is created when user sets one of the setting items for the first time. |
|
267 * |
|
268 */ |
|
269 const TUint32 KAknAdaptiveSearchLastChinese = 0x00000014; |
|
270 |
|
271 /** |
|
272 * The resource file name used by editor to enable emotion icon. |
|
273 * |
|
274 * The key should be enabled in device before used by editor. |
|
275 * |
|
276 * Initial value should be "smiley" |
|
277 * |
|
278 */ |
|
279 const TUint32 KAknEmotionResourceFileName = 0x00000015; |
|
280 |
|
281 /** |
|
282 * they store the type of keyboard in slide close/slide open modes |
|
283 * according to the following enumeration: |
|
284 * 0 = no keyboard |
|
285 * 1 = 12 keys keyboard |
|
286 * 2 = 4x12 qwerty keyboard |
|
287 * 3 = 4x10 qwerty keyboard |
|
288 * 4 = 3x11 qwerty keyboard |
|
289 * 5 = half qwerty keyboard |
|
290 * 6 = custom qwerty keyboard |
|
291 * 7 = max layout keyboard |
|
292 */ |
|
293 const TUint32 KAknKeyboardSlideClose = 0x00000016; |
|
294 |
|
295 const TUint32 KAknKeyboardSlideOpen = 0x00000017; |
|
296 |
|
297 const TUid KCRUidLeaveAppsInMemory = { 0x102858F2 }; |
|
298 |
|
299 /** |
|
300 * Key range for the LeaveAppsInMemory apps list. |
|
301 * To be used with KLeaveAppsInMemoryAppListKeyMask, meaning that listed |
|
302 * app UIDs should have keys of the form 0x0000???? |
|
303 */ |
|
304 const TUint32 KLeaveAppsInMemoryAppListKeyRange = 0x00000000; |
|
305 |
|
306 /** |
|
307 * Key mask for the LeaveAppsInMemory apps list. |
|
308 * To be used with KLeaveAppsInMemoryAppListKeyRange, meaning that listed |
|
309 * app UIDs should have keys of the form 0x0000???? |
|
310 */ |
|
311 const TUint32 KLeaveAppsInMemoryAppListKeyMask = 0xFFFF0000; |
|
312 |
|
313 |
|
314 #endif |
|
315 |
|
316 // End of file |