|
1 /* |
|
2 * Copyright (c) 2005-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 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: Constants used in interface class |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef __LANDMARK_AIWPARAMS_HRH_ |
|
20 #define __LANDMARK_AIWPARAMS_HRH_ |
|
21 |
|
22 // |
|
23 //Service Name. |
|
24 // |
|
25 _LIT8(KService,"Service.Landmarks"); |
|
26 |
|
27 // |
|
28 //Interface identifier. |
|
29 // |
|
30 _LIT8(KIDataSource,"IDataSource"); |
|
31 |
|
32 // |
|
33 //Landmarks commands. |
|
34 // |
|
35 _LIT8(KNew,"New"); |
|
36 _LIT8(KGetList,"GetList"); |
|
37 _LIT8(KAdd,"Add"); |
|
38 _LIT8(KRemove,"Delete"); |
|
39 _LIT8(KSetActive,"SetActive"); |
|
40 _LIT8(KOrganise,"Organise"); |
|
41 _LIT8(KImport,"Import"); |
|
42 _LIT8(KExport,"Export"); |
|
43 _LIT8(KCancel,"Cancel"); |
|
44 |
|
45 // |
|
46 //Content identifier. |
|
47 // |
|
48 _LIT8(KContentType,"Type"); |
|
49 _LIT8(KFilter,"Filter"); |
|
50 _LIT8(KSort,"Sort"); |
|
51 _LIT8(KDataFields,"Data"); |
|
52 _LIT8(KOperationType,"OperationType"); |
|
53 _LIT8(KTransactionId,"TransactionID"); |
|
54 _LIT8(KErrorCode,"ErrorCode"); |
|
55 _LIT8(KErrorMsg,"ErrorMessage"); |
|
56 _LIT8(KReturnValue,"ReturnValue"); |
|
57 // |
|
58 //Content value. |
|
59 // |
|
60 _LIT16(KLandmark,"Landmark"); |
|
61 _LIT16(KCategory,"Category"); |
|
62 _LIT16(KDatabase,"Database"); |
|
63 |
|
64 // |
|
65 //Landmark datamembers |
|
66 // |
|
67 _LIT8(KId,"id"); |
|
68 _LIT8(KLandmarkName,"LandmarkName"); |
|
69 _LIT8(KLandmarkPosition,"LandmarkPosition"); |
|
70 _LIT8(KCoverageRadius,"CoverageRadius"); |
|
71 _LIT8(KCategoryInfo,"CategoryInfo"); |
|
72 _LIT8(KIconFile,"IconFile"); |
|
73 _LIT8(KIconIndex,"IconIndex"); |
|
74 _LIT8(KIconMaskIndex,"IconMaskIndex"); |
|
75 _LIT8(KLandmarkDesc,"LandmarkDesc"); |
|
76 _LIT8(KLandmarkFields,"LandmarkFields"); |
|
77 _LIT8(KLatitude,"Latitude"); |
|
78 _LIT8(KLongitude,"Longitude"); |
|
79 _LIT8(KAltitude,"Altitude"); |
|
80 _LIT8(KHAccuracy,"HAccuracy"); |
|
81 _LIT8(KVAccuracy,"VAccuracy"); |
|
82 _LIT8(KTStamp,"TStamp"); |
|
83 |
|
84 // |
|
85 //Landmark fields |
|
86 // |
|
87 _LIT8(KLandmarkCountry,"Country"); |
|
88 _LIT8(KLandmarkAreaCode,"AreaCode"); |
|
89 _LIT8(KLandmarkCity,"City"); |
|
90 _LIT8(KLandmarkDistrict,"District"); |
|
91 _LIT8(KLandmarkBuildingName,"BuildingName"); |
|
92 _LIT8(KLandmarkStreet,"Street"); |
|
93 _LIT8(KLandmarkTelephone,"Telephone"); |
|
94 |
|
95 // |
|
96 //Landmark category datamembers |
|
97 // |
|
98 _LIT8(KCategoryName,"CategoryName"); |
|
99 _LIT8(KGlobalCategory,"GlobalId"); |
|
100 |
|
101 // |
|
102 //landmark database datamembers |
|
103 // |
|
104 _LIT8(KDbName,"DatabaseName"); |
|
105 _LIT8(KDbUri,"DatabaseURI"); |
|
106 _LIT8(KDbDrive,"DbDrive"); |
|
107 _LIT8(KDbProtocol,"DbProtocol"); |
|
108 _LIT8(KDbMedia,"DbMedia"); |
|
109 _LIT8(KDbSize,"DbSize"); |
|
110 _LIT8(KDbActive,"DbActive"); |
|
111 |
|
112 // |
|
113 //search criteria datamembers |
|
114 // |
|
115 _LIT8(KMaximumMatches,"MaximumMatches"); |
|
116 _LIT8(KPrevMatchesOnly,"PreviousMatchesOnly"); |
|
117 _LIT8(KSortKey,"Key"); |
|
118 _LIT8(KSortOrder,"Order"); |
|
119 |
|
120 // |
|
121 //sort value. |
|
122 // |
|
123 _LIT16(KDescending,"Descending"); |
|
124 _LIT16(KAscending,"Ascending"); |
|
125 |
|
126 // |
|
127 //search criteria datamembers for landmarks |
|
128 // |
|
129 _LIT8(KCoverageRadiusOption,"CoverageRadiusOption"); |
|
130 _LIT8(KBoundedArea,"BoundedArea"); |
|
131 _LIT8(KNorthLatitude,"NorthLatitude"); |
|
132 _LIT8(KSouthLatitude,"SouthLatitude"); |
|
133 _LIT8(KEastLongitude,"EastLongitude"); |
|
134 _LIT8(KWestLongitude,"WestLongitude"); |
|
135 _LIT8(KMaximumDistance,"MaximumDistance"); |
|
136 |
|
137 // |
|
138 //Import/Export landmarks |
|
139 // |
|
140 _LIT8(KSourceFile, "SourceFile"); |
|
141 _LIT8(KDestinationFile, "DestinationFile"); |
|
142 _LIT8(KMimeType, "MimeType"); |
|
143 _LIT8(KIdList, "IdList"); |
|
144 |
|
145 // |
|
146 //Organise operation type value |
|
147 // |
|
148 _LIT16(KAssociate, "Associate"); |
|
149 _LIT16(KDisassociate, "Disassociate"); |
|
150 |
|
151 _LIT16(KInterfaceMissing,"Landmarks: Interface name is missing"); |
|
152 _LIT16(KInvalidServiceCmd,"Landmarks: Service Command is invalid"); |
|
153 _LIT16(KInvalidDbUri,"Landmarks: Database URI is invalid"); |
|
154 _LIT16(KIncorrectAsyncReq,"Landmarks: Insufficent arguments for asynchronous request"); |
|
155 _LIT16(KAsyncNotSupported,"Landmarks: Asynchronous behavior not supported"); |
|
156 |
|
157 _LIT8(KArgsMissing,"Type or Data"); |
|
158 _LIT8(KOrganiseArgsMissing,"Type or Data or OperationType"); |
|
159 |
|
160 _LIT(KModule,"Landmarks"); |
|
161 _LIT(KColon," : "); |
|
162 _LIT(KMissing," is missing"); |
|
163 _LIT(KInvalid," is invalid"); |
|
164 _LIT(KEmpty," is empty"); |
|
165 _LIT(KOr," or "); |
|
166 const TInt KMaxMsgSize = 256; |
|
167 const TInt KMaxKeySize = 128; |
|
168 const TInt KMaxIDStringLength = 10; |
|
169 const TInt KMaxDriveLength = 4; |
|
170 #endif //__LANDMARK_AIWPARAMS_HRH_ |