|
1 /* |
|
2 * Copyright (c) 2009 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: Central Repository Key definition for ordering of the |
|
15 * positioning settings plugins displayed in the advaced |
|
16 * settings view |
|
17 * |
|
18 */ |
|
19 |
|
20 #ifndef POSSETTINGSCRKEY_H |
|
21 #define POSSETTINGSCRKEY_H |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 /* |
|
26 * UID of the Positioning Settings Central Repository Key. |
|
27 * This key defines the position of the positioning settings plugins that are shown |
|
28 * in the advanced settings view of Positioning. |
|
29 */ |
|
30 const TUid KCRUidPositioningSettings = {0x2002E685}; |
|
31 |
|
32 /* |
|
33 * Key for listing the positioning settings plugins in the advacned view of Positioning. |
|
34 * This key is a Read only key and the default values for the Keys is configured by the device |
|
35 * manufacturer while flashing the device. They cannot be dynamically configured. |
|
36 * The keys contains a string which contains a list of Unique Identifers for the Positioning settings |
|
37 * plugins in the order in which the device manufacturer wants these plugins to be displayed. |
|
38 * The maximum length of this string is 1024 characters |
|
39 * The format of this Key is defined as |
|
40 * | Count | Length(1) | Dllname(1) | Length(2) | Dllname(2) | ... | Length( Count ) | Dllname( Count ) | |
|
41 * where, |
|
42 * Count ( 4 digits ) - The number of positioning Settings plugins which are predefined to be displayed in |
|
43 * the Advanced Settings view, in the Decimal format. |
|
44 * Length(n) ( 4 digits ) - Length of the plugin's dll name in the string format. This field contains the length |
|
45 * in the in the Decimal format. |
|
46 * String(n) - Dll name of the positioning settings plugins encoded as a string. |
|
47 */ |
|
48 const TUint32 KPositioningSettingsPlugins = 0x00000001; |
|
49 |
|
50 /* |
|
51 * Key for storing old state of background positioning in main view. |
|
52 * This key is a Read/Write key and the default value for the key is one [i.e. enabled] |
|
53 * The key contains integer which can be either 0 [disabled] or 1 [enabled] |
|
54 * The key value is modified only when user marks/unmarks background positioning checkbox in the main view |
|
55 * The key value is NOT modified when background positioning checkbox is removed/inserted |
|
56 */ |
|
57 const TUint32 KPositioningSettingsBackgroundServicesStatus = 0x00000002; |
|
58 |
|
59 #endif //POSSETTINGSCRKEY_H |