author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 27 Apr 2010 17:33:05 +0300 | |
branch | RCL_3 |
changeset 56 | c210248fa89d |
parent 37 | 5d0ec8b709be |
permissions | -rw-r--r-- |
19 | 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"); |
|
37
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
94 |
_LIT8(KLandmarkstate,"state"); |
19 | 95 |
|
96 |
// |
|
97 |
//Landmark category datamembers |
|
98 |
// |
|
99 |
_LIT8(KCategoryName,"CategoryName"); |
|
100 |
_LIT8(KGlobalCategory,"GlobalId"); |
|
37
5d0ec8b709be
Revision: 200949
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
19
diff
changeset
|
101 |
_LIT8(KCategoryIdChanged,"categoryId"); |
19 | 102 |
|
103 |
// |
|
104 |
//landmark database datamembers |
|
105 |
// |
|
106 |
_LIT8(KDbName,"DatabaseName"); |
|
107 |
_LIT8(KDbUri,"DatabaseURI"); |
|
108 |
_LIT8(KDbDrive,"DbDrive"); |
|
109 |
_LIT8(KDbProtocol,"DbProtocol"); |
|
110 |
_LIT8(KDbMedia,"DbMedia"); |
|
111 |
_LIT8(KDbSize,"DbSize"); |
|
112 |
_LIT8(KDbActive,"DbActive"); |
|
113 |
||
114 |
// |
|
115 |
//search criteria datamembers |
|
116 |
// |
|
117 |
_LIT8(KMaximumMatches,"MaximumMatches"); |
|
118 |
_LIT8(KPrevMatchesOnly,"PreviousMatchesOnly"); |
|
119 |
_LIT8(KSortKey,"Key"); |
|
120 |
_LIT8(KSortOrder,"Order"); |
|
121 |
||
122 |
// |
|
123 |
//sort value. |
|
124 |
// |
|
125 |
_LIT16(KDescending,"Descending"); |
|
126 |
_LIT16(KAscending,"Ascending"); |
|
127 |
||
128 |
// |
|
129 |
//search criteria datamembers for landmarks |
|
130 |
// |
|
131 |
_LIT8(KCoverageRadiusOption,"CoverageRadiusOption"); |
|
132 |
_LIT8(KBoundedArea,"BoundedArea"); |
|
133 |
_LIT8(KNorthLatitude,"NorthLatitude"); |
|
134 |
_LIT8(KSouthLatitude,"SouthLatitude"); |
|
135 |
_LIT8(KEastLongitude,"EastLongitude"); |
|
136 |
_LIT8(KWestLongitude,"WestLongitude"); |
|
137 |
_LIT8(KMaximumDistance,"MaximumDistance"); |
|
138 |
||
139 |
// |
|
140 |
//Import/Export landmarks |
|
141 |
// |
|
142 |
_LIT8(KSourceFile, "SourceFile"); |
|
143 |
_LIT8(KDestinationFile, "DestinationFile"); |
|
144 |
_LIT8(KMimeType, "MimeType"); |
|
145 |
_LIT8(KIdList, "IdList"); |
|
146 |
||
147 |
// |
|
148 |
//Organise operation type value |
|
149 |
// |
|
150 |
_LIT16(KAssociate, "Associate"); |
|
151 |
_LIT16(KDisassociate, "Disassociate"); |
|
152 |
||
153 |
_LIT16(KInterfaceMissing,"Landmarks: Interface name is missing"); |
|
154 |
_LIT16(KInvalidServiceCmd,"Landmarks: Service Command is invalid"); |
|
155 |
_LIT16(KInvalidDbUri,"Landmarks: Database URI is invalid"); |
|
156 |
_LIT16(KIncorrectAsyncReq,"Landmarks: Insufficent arguments for asynchronous request"); |
|
157 |
_LIT16(KAsyncNotSupported,"Landmarks: Asynchronous behavior not supported"); |
|
158 |
||
159 |
_LIT8(KArgsMissing,"Type or Data"); |
|
160 |
_LIT8(KOrganiseArgsMissing,"Type or Data or OperationType"); |
|
161 |
||
162 |
_LIT(KModule,"Landmarks"); |
|
163 |
_LIT(KColon," : "); |
|
164 |
_LIT(KMissing," is missing"); |
|
165 |
_LIT(KInvalid," is invalid"); |
|
166 |
_LIT(KEmpty," is empty"); |
|
167 |
_LIT(KOr," or "); |
|
168 |
const TInt KMaxMsgSize = 256; |
|
169 |
const TInt KMaxKeySize = 128; |
|
170 |
const TInt KMaxIDStringLength = 10; |
|
171 |
const TInt KMaxDriveLength = 4; |
|
172 |
#endif //__LANDMARK_AIWPARAMS_HRH_ |