|
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 * SyncML Device Management internal CenRep key definitions |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef POLICY_ENGINE_PRIVATE_CR_KEYS_H |
|
21 #define POLICY_ENGINE_PRIVATE_CR_KEYS_H |
|
22 |
|
23 /** |
|
24 * SyncML Device Management Internal Keys UID |
|
25 */ |
|
26 const TUid KPolicyEngineRepositoryID = {0x10207815}; |
|
27 const TUid KPolicyEngineBackupRepositoryID = {0x10207816}; |
|
28 |
|
29 /** |
|
30 * CenRep key for Next free ID: |
|
31 * Holds the next free if for policy component |
|
32 * |
|
33 * Possible integer values: |
|
34 * positive integer values |
|
35 * |
|
36 * Default value: -1 (not defined) |
|
37 * |
|
38 * Note: Only for Policy Engine private use |
|
39 * |
|
40 */ |
|
41 const TUint32 KNextFreeId = 0x00000001; |
|
42 |
|
43 /** |
|
44 * CenRep key for commit flag: |
|
45 * Determines when policy operation is ready.If something goes wrong (phone is turned off during operation), |
|
46 * this flag indicates in the next boot restoring backup is required. |
|
47 * |
|
48 * Possible integer values: |
|
49 * 0 or 1. 0 indicates that the operations is not commited. 1 indicates that the operation is committed |
|
50 * and policy management is in the valid state. |
|
51 * |
|
52 * Default value: -1 (not defined) |
|
53 * |
|
54 * Note: This flag is written by the policy engine. Other policy management components can read a flag. |
|
55 * |
|
56 */ |
|
57 const TUint32 KCommitFlag = 0x00000003; |
|
58 |
|
59 /** |
|
60 * CenRep key for enforcement state keys: |
|
61 * This range is reserved for policy engine private use and it keeps track about enforcement state. |
|
62 * |
|
63 * Possible integer values: |
|
64 * |
|
65 * Default value: -1 (not defined) |
|
66 * |
|
67 * Note: This flag is start of the range which is dedicated for enforcement states |
|
68 * |
|
69 */ |
|
70 const TUint32 KEnforcementStates = 0x00000100; |
|
71 |
|
72 #endif // POLICY_ENGINE_PRIVATE_CR_KEYS_H |
|
73 |