|
1 /* |
|
2 * Copyright (c) 2008 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 the License "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: This class provides constants and enumerations for |
|
15 * classes implementing ServiceRegistry SAPI |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef SERVICEREGISTRYSERVICE_HRH |
|
21 #define SERVICEREGISTRYSERVICE_HRH |
|
22 |
|
23 // Constants for supported Operations |
|
24 _LIT8( KGetList, "GetList" ); |
|
25 |
|
26 |
|
27 // Other generated constants |
|
28 _LIT8( KService, "IService" ); |
|
29 _LIT8( KCmdCancel, "Cancel" ); |
|
30 |
|
31 _LIT8( KParamFilter, "Filter" ); |
|
32 _LIT8( KServiceName, "ServiceName" ); |
|
33 _LIT8( KInterfaceName, "InterfaceName" ); |
|
34 _LIT8( KVersionList, "VersionList" ); |
|
35 _LIT8( KMinVersion, "MinimumVersion" ); |
|
36 _LIT8( KMaxVersion, "MaximumVersion" ); |
|
37 |
|
38 |
|
39 _LIT8( KWild, "*" ); |
|
40 |
|
41 _LIT8(KVersion,"ver"); // string "ver" to be set as a Value in List |
|
42 _LIT8(KRange,"range"); // string "range" to be set as the Key in Map |
|
43 |
|
44 // Indexes used in position based parsing. |
|
45 enum TParamIndex |
|
46 { |
|
47 EParamIndex0 = 0, |
|
48 EParamIndex1 |
|
49 }; |
|
50 |
|
51 |
|
52 /** |
|
53 * Error identifier in output parameter list. |
|
54 */ |
|
55 _LIT8(KErrorCode , "ErrorCode") ; |
|
56 |
|
57 /* |
|
58 * Return Value Identifier in output parameter list. |
|
59 */ |
|
60 _LIT8(KReturnValue , "ReturnValue") ; |
|
61 |
|
62 /** |
|
63 * Command identifier in input parameter list |
|
64 */ |
|
65 _LIT8(KCommand, "cmd"); |
|
66 |
|
67 /** |
|
68 * Transaction id in output parameter list needed for asynchronous request |
|
69 */ |
|
70 _LIT8(KTransactionId, "TransactionID"); |
|
71 |
|
72 #endif // SERVICEREGISTRYSERVICE_HRH |