|
1 /* |
|
2 * Copyright (c) 2005-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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 /** |
|
22 @file |
|
23 @internalTechnology |
|
24 */ |
|
25 |
|
26 #ifndef HWRMCONFIGURATION_H |
|
27 #define HWRMCONFIGURATION_H |
|
28 |
|
29 // INCLUDES |
|
30 #include <e32base.h> |
|
31 #include <e32uid.h> |
|
32 |
|
33 // CONSTANTS |
|
34 const TInt KServerVersionMajor = 1; // !!! update version |
|
35 const TInt KServerVersionMinor = 0; |
|
36 const TInt KServerVersionBuild = 0; |
|
37 const TInt KServerCActivePriority = CActive::EPriorityUserInput; |
|
38 |
|
39 // Separate TInt needed for KHWRMSidOnlyPolicy or DLL's won't compile because of static data |
|
40 const TInt KServerUid2Int = 0x101F7A02; |
|
41 const TUid KServerUid2 = { KServerUid2Int }; |
|
42 |
|
43 // FM Tx extension - the Audio Policy server receives notifications via P&S |
|
44 const TInt KAudioPolicyUid2Int = 0x101F457F; |
|
45 const TUid KAudioPolicyUid2 = { KAudioPolicyUid2Int }; |
|
46 |
|
47 const TInt KDefaultAsyncSlots = 4; // Async message slots to be used in client server comms. |
|
48 |
|
49 _LIT( KServerProcessName, "!HWRMServer" ); |
|
50 _LIT( KServerExeName, "HWRMServer.exe" ); |
|
51 _LIT( KServerSemaphoreName, "HWRMSemaphore" ); |
|
52 _LIT( KServerFindPattern, "!HWRMServer*" ); // to find both already fully started and not yet fully started processess |
|
53 |
|
54 _LIT( KServerExeDrive, "Z:" ); |
|
55 |
|
56 // Policies |
|
57 _LIT_SECURITY_POLICY_PASS(KAlwaysPassPolicy); |
|
58 _LIT_SECURITY_POLICY_S0(KHWRMSidOnlyPolicy, KServerUid2Int); |
|
59 _LIT_SECURITY_POLICY_S0(KAudioPolicySidOnlyPolicy, KAudioPolicyUid2Int); |
|
60 // BRANCH_END |
|
61 _LIT_SECURITY_POLICY_C1(KWriteDeviceDataPolicy, ECapabilityWriteDeviceData); |
|
62 _LIT_SECURITY_POLICY_C1(KNoCapability, ECapability_None); |
|
63 |
|
64 // MACROS |
|
65 // None |
|
66 |
|
67 // DATA TYPES |
|
68 // None |
|
69 |
|
70 // FUNCTION PROTOTYPES |
|
71 // None |
|
72 |
|
73 // FORWARD DECLARATIONS |
|
74 // None |
|
75 |
|
76 // CLASS DECLARATION |
|
77 // None |
|
78 |
|
79 #endif // HWRMCONFIGURATION_H |
|
80 |
|
81 // End of File |