|
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: Implementation of policymanagement components |
|
15 * |
|
16 */ |
|
17 // CentRepToolClientServer.h |
|
18 |
|
19 #ifndef __CENTREPTOOLSERVER_H__ |
|
20 #define __CENTREPTOOLSERVER_H__ |
|
21 |
|
22 #include <e32std.h> |
|
23 |
|
24 |
|
25 |
|
26 _LIT(KCentRepToolServerName,"centreptoolserver"); |
|
27 _LIT(KCentRepToolServerImg,"centreptoolserver"); // DLL/EXE name |
|
28 |
|
29 const TUid KCentRepToolServerUid={0x80000005}; |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 enum TAccessType |
|
35 { |
|
36 EWriteAccess = 0, |
|
37 EReadAccess, |
|
38 EAccessBoth |
|
39 }; |
|
40 |
|
41 enum TCentRepMessages |
|
42 { |
|
43 ECreateRepositorySubSession, |
|
44 ECloseRepositorySubSession, |
|
45 |
|
46 EInitRepositorySession, |
|
47 |
|
48 ESetSIDWRForSetting, |
|
49 ERestoreSetting, |
|
50 |
|
51 ESetSIDWRForMask, |
|
52 ERestoreMask, |
|
53 |
|
54 ESetSIDWRForRange, |
|
55 ERestoreRange, |
|
56 |
|
57 EAddSIDWRForDefaults, |
|
58 ERestoreDefaults, |
|
59 |
|
60 ERemoveBackupFlagForRange, |
|
61 ERestoreBackupFlagForRange, |
|
62 |
|
63 ERemoveBackupFlagForMask, |
|
64 ERestoreBackupFlagForMask, |
|
65 |
|
66 ERemoveBackupFlagForDefaults, |
|
67 ERestoreBackupFlagForDefaults, |
|
68 |
|
69 EFlushRepository, |
|
70 ECheckCommitState, |
|
71 |
|
72 EPerformCentRepToolRFS, |
|
73 |
|
74 ECreateCheckAccessSession, |
|
75 ECloseCheckAcceessSession, |
|
76 ECheckAccess |
|
77 }; |
|
78 |
|
79 #endif// __CENTREPTOOLSERVER_H__ |