|
1 /* |
|
2 * Copyright (c) 2002-2010 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: LandmarksUi Content File - |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef LANDMARKS_HRH |
|
19 #define LANDMARKS_HRH |
|
20 |
|
21 // DATA TYPES |
|
22 |
|
23 enum TLmkItemType |
|
24 { |
|
25 ELmkItemTypeLandmark, ELmkItemTypeCategory |
|
26 }; |
|
27 |
|
28 enum TLmkAppViewId |
|
29 { |
|
30 ELmkByLmView, |
|
31 ELmkByCategoryView, |
|
32 ELmkSettingsView, |
|
33 ELmkCategorySettingsView, |
|
34 ELmkCategoryContentsView |
|
35 }; |
|
36 |
|
37 enum TLmkSelectorType |
|
38 { |
|
39 ELandmarkSelector, |
|
40 ECategorySelector, |
|
41 ELmByCriteriaSelector, |
|
42 ESearchSelector |
|
43 }; |
|
44 |
|
45 enum TLmkSelectorTabId |
|
46 { |
|
47 ETabLandmarkList, ETabCategoryList |
|
48 }; |
|
49 |
|
50 enum TLmkAppCmdId |
|
51 { |
|
52 ELmkCmdEditLm = 0x6100, // opens for editing |
|
53 ELmkCmdOpenLm, // opens for viewing |
|
54 ELmkCmdNewLm, |
|
55 ELmkCmdNewLmCurrentLocation, |
|
56 ELmkCmdNewLmEmpty, |
|
57 ELmkCmdDeleteLm, |
|
58 ELmkCmdSaveLm, |
|
59 ELmkCmdSaveSelectedLms, |
|
60 ELmkCmdSaveAllLms, |
|
61 ELmkCmdSendSelectedLms, |
|
62 ELmkCmdSendAllLms, |
|
63 ELmkCmdAddToCat, |
|
64 ELmkCmdChangeIcon, |
|
65 ELmkCmdEditCats, |
|
66 ELmkCmdOpenCat, |
|
67 ELmkCmdChangeSetting, |
|
68 ELmkCmdNewCategory, |
|
69 ELmkCmdRenameCat, |
|
70 ELmkCmdDeleteCat, |
|
71 ELmkCmdSelectCategories, |
|
72 ELmkCmdCategories, |
|
73 ELmkCmdCurrentLocation, |
|
74 ELmkCmdFindBoxSearchAfresh, |
|
75 ELmkCmdFindBoxSearchInPreviousResults, |
|
76 ELmkCmdSendDummy, // This dummy is required by SendUi |
|
77 ELmkCmdSend, // This the "Send as..." command and acts as a base for which |
|
78 ELmkCmdSendVia1, // the selected MTMs are indexed against in SendUi. |
|
79 ELmkCmdSendVia2, // "dummy" MTMs, SendUi maps these to actual MTMs. |
|
80 ELmkCmdSendVia3, |
|
81 ELmkCmdSendVia4, |
|
82 ELmkCmdSendVia5, |
|
83 ELmkCmdSendVia6, |
|
84 ELmkCmdSendVia7, |
|
85 ELmkCmdSendVia8, |
|
86 ELmkCmdSendVia9, |
|
87 ELmkCmdSendVia10, |
|
88 ELmkCmdCall, |
|
89 ELmkCmdGoToUrl, |
|
90 ERemoveFromCat, |
|
91 ELmkCmdLaunchPositionSettings, |
|
92 ELmkCmdClearPosInfo, |
|
93 ELmkCmdStopOperation, |
|
94 ELmkShowOnMap, |
|
95 ELmkNavigateTo, |
|
96 ELmkShowOnMapPlaceHolder, |
|
97 ELmkNavigateToPlaceHolder, |
|
98 ELmkFromMapPlaceholder, |
|
99 ELmkCmdEditTextLm, // another 100 can be added after this |
|
100 ELmkCmdLast = 0x618D, // Starting Command for AIW call API's, ends 0x70FFF |
|
101 ELmkCmdMnNav = 0x71000, // Command for AIW Map and Navigation. Enums after this should |
|
102 ELmkCmdShow = 0x71000 + 50 // start after ELmkCmdMnNav + 50 |
|
103 }; |
|
104 |
|
105 enum TLmkEditorItemType |
|
106 { |
|
107 EName = 0, |
|
108 ECategory, |
|
109 ECategories, |
|
110 EDescription, |
|
111 EStreet, |
|
112 EPostCode, |
|
113 ECity, |
|
114 EStateProvince, |
|
115 ECountry, |
|
116 EPhoneNumber, |
|
117 EWebAddress, |
|
118 ELatitude, |
|
119 ELongitude, |
|
120 EPositionAccuracy, |
|
121 EAltitude, |
|
122 EAltitudeAccuracy, |
|
123 /* |
|
124 EDescription, |
|
125 EPhoneNumber, |
|
126 EWebAddress, |
|
127 */ |
|
128 EAllEditorItems |
|
129 }; |
|
130 |
|
131 enum TLmkEditorItemTypeForJapaneseMode |
|
132 { |
|
133 ENameJapaneseMode = 0, |
|
134 ECategoryJapaneseMode, |
|
135 ECategoriesJapaneseMode, |
|
136 EDescriptionJapaneseMode, |
|
137 EPostCodeJapaneseMode, |
|
138 EStateProvinceJapaneseMode, |
|
139 ECityJapaneseMode, |
|
140 EStreetJapaneseMode, |
|
141 ECountryJapaneseMode, |
|
142 EPhoneNumberJapaneseMode, |
|
143 EWebAddressJapaneseMode, |
|
144 ELatitudeJapaneseMode, |
|
145 ELongitudeJapaneseMode, |
|
146 EPositionAccuracyJapaneseMode, |
|
147 EAltitudeJapaneseMode, |
|
148 EAltitudeAccuracyJapaneseMode, |
|
149 EAllEditorItemsJapaneseMode |
|
150 }; |
|
151 |
|
152 enum TLmkFieldEditor |
|
153 { |
|
154 //ETextFieldEditor, |
|
155 ETextGenericFieldEditor, |
|
156 ENumberFieldEditor, |
|
157 EListFieldEditor, |
|
158 ECoordinateFieldEditor, |
|
159 // Added for rel3.1 |
|
160 ETextPhoneNumberFieldEditor, |
|
161 ETextUriFieldEditor |
|
162 }; |
|
163 |
|
164 //editor's control type |
|
165 enum TEditorTypes |
|
166 { |
|
167 EDistanceEditorType = 10000, ECoordinateEditorType |
|
168 }; |
|
169 |
|
170 enum TIconArrayIndex |
|
171 { |
|
172 EIndexTransport = 0, |
|
173 EIndexSport = 1, |
|
174 EIndexSightSeeing = 2, |
|
175 EIndexShopping = 3, |
|
176 EIndexReligious = 4, |
|
177 EIndexPublic = 5, |
|
178 EIndexPeople = 6, |
|
179 EIndexOutdoor = 7, |
|
180 EIndexIndexGeographical = 8, |
|
181 EIndexFood = 9, |
|
182 EIndexEntertainment = 10, |
|
183 EIndexEducational = 11, |
|
184 EIndexCommunication = 12, |
|
185 EIndexBusiness = 13, |
|
186 EIndexAccommodation = 14 |
|
187 }; |
|
188 |
|
189 enum TPreDefinedCategoryId |
|
190 { |
|
191 ETransport = 45000, |
|
192 ESport = 42000, |
|
193 ESightSeeing = 39000, |
|
194 EShopping = 36000, |
|
195 EReligious = 33000, |
|
196 EPublic = 30000, |
|
197 EPeople = 27000, |
|
198 EOutdoor = 24000, |
|
199 EGeographical = 21000, |
|
200 EFood = 18000, |
|
201 EEntertainment = 15000, |
|
202 EEducational = 12000, |
|
203 ECommunication = 9000, |
|
204 EBusiness = 6000, |
|
205 Accommodation = 3000 |
|
206 }; |
|
207 |
|
208 // For using AIW menu services |
|
209 enum TLmkAppAiwCmdId |
|
210 { |
|
211 ELmkAppMenuAiwId = 100, |
|
212 ELmkAppSubMenuAiwId, |
|
213 ELmkEditMenuAiwId, |
|
214 ELmkEditSubMenuAiwId |
|
215 }; |
|
216 |
|
217 // For search steps |
|
218 enum TLmkSearchStep |
|
219 { |
|
220 ELmkStepOne = 8, ELmkStepTwo = 40 |
|
221 }; |
|
222 |
|
223 enum TLmkValue |
|
224 { |
|
225 ELmkMinusOneValue = -1, |
|
226 ELmkZeroValue = 0, |
|
227 ELmkOneValue = 1, |
|
228 ELmkTwoValue = 2 |
|
229 }; |
|
230 |
|
231 #define ELmkCtIconMap 0x2001 |
|
232 #define ELmkIconMapContentId 5 |
|
233 |
|
234 #endif // LANDMARKS_HRH |
|
235 |
|
236 // End of File |