|
1 /* |
|
2 * Copyright (c) 2006 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 definitions file |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef PSMDEFINES_H |
|
20 #define PSMDEFINES_H |
|
21 |
|
22 #include <e32base.h> |
|
23 #include "psmtrace.h" |
|
24 |
|
25 /** |
|
26 * PSM server process name |
|
27 */ |
|
28 _LIT(KPsmProcessName, "!PsmServer"); |
|
29 |
|
30 /** |
|
31 * PSM server main thread name |
|
32 */ |
|
33 _LIT(KPsmMainThreadName, "PsmMain"); |
|
34 |
|
35 /** |
|
36 * PSM server executable name |
|
37 */ |
|
38 _LIT( KPsmExeName, "psmserver.exe" ); |
|
39 |
|
40 /** |
|
41 * Drive identifier of the drive where PSM server executable is. |
|
42 */ |
|
43 _LIT( KPsmExeDrive, "z:" ); |
|
44 |
|
45 /** |
|
46 * Number of times PSM server client should try reconneting if session is not found. |
|
47 */ |
|
48 const TInt KPsmClientTryCount(2); |
|
49 |
|
50 /** |
|
51 * Major version number |
|
52 */ |
|
53 const TInt KPsmVersionMajor(0); |
|
54 |
|
55 /** |
|
56 * Minor version number |
|
57 */ |
|
58 const TInt KPsmVersionMinor(0); |
|
59 |
|
60 /** |
|
61 * Build number |
|
62 */ |
|
63 const TInt KPsmVersionBuild(1); |
|
64 |
|
65 /** |
|
66 * Async message slots to be used in client server comms. |
|
67 */ |
|
68 const TInt KPsmServerDefaultAsyncSlots(4); |
|
69 |
|
70 /** |
|
71 * Separate TInt needed or DLL's won't compile because of static data if UID is used in some policy lit |
|
72 */ |
|
73 const TInt KPsmServerUid2Int(0x2000B187); |
|
74 |
|
75 /** |
|
76 * PSM Server UID |
|
77 */ |
|
78 const TUid KPsmServerUid2 = { KPsmServerUid2Int }; |
|
79 |
|
80 #endif // PSMDEFINES_H |