135 txt = qtn_options_open; |
135 txt = qtn_options_open; |
136 flags = EEikMenuItemAction; |
136 flags = EEikMenuItemAction; |
137 }, |
137 }, |
138 MENU_ITEM |
138 MENU_ITEM |
139 { |
139 { |
140 command = ELmkCmdEditLm; |
|
141 txt = qtn_lm_opt_edit_landmark; |
|
142 flags = EEikMenuItemSpecific; |
|
143 }, |
|
144 MENU_ITEM |
|
145 { |
|
146 command = ELmkCmdNewLm; |
140 command = ELmkCmdNewLm; |
147 txt = qtn_lm_opt_new_landmark; |
141 txt = qtn_lm_opt_new_landmark; |
148 cascade = r_lmk_new_landmark_submenu; |
142 cascade = r_lmk_new_landmark_submenu; |
149 }, |
143 }, |
150 MENU_ITEM |
144 MENU_ITEM |
151 { |
145 { |
|
146 command = ELmkShowOnMapPlaceHolder; |
|
147 txt = qtn_mnn_option_show_on_map; |
|
148 flags = EEikMenuItemSpecific; |
|
149 }, |
|
150 MENU_ITEM |
|
151 { |
|
152 command = ELmkNavigateToPlaceHolder; |
|
153 txt = qtn_mnn_option_navigate_to; |
|
154 flags = EEikMenuItemSpecific; |
|
155 }, |
|
156 MENU_ITEM |
|
157 { |
|
158 command = ELmkCmdAddToCat; |
|
159 txt = qtn_lm_opt_add_to_category; |
|
160 flags = EEikMenuItemSpecific; |
|
161 }, |
|
162 MENU_ITEM |
|
163 { |
|
164 command = ERemoveFromCat; |
|
165 txt = qtn_lm_opt_remove_from_category; |
|
166 flags = EEikMenuItemSpecific; |
|
167 }, |
|
168 MENU_ITEM |
|
169 { |
|
170 command = ELmkCmdSendDummy; |
|
171 txt = qtn_options_send_via; |
|
172 }, |
|
173 MENU_ITEM |
|
174 { |
152 command = ELmkCmdDeleteLm; |
175 command = ELmkCmdDeleteLm; |
153 txt = qtn_lm_opt_delete_landmark; |
176 txt = qtn_lm_opt_delete_landmark; |
154 flags = EEikMenuItemSpecific; |
177 flags = EEikMenuItemSpecific; |
155 }, |
|
156 MENU_ITEM |
|
157 { |
|
158 command = ELmkCmdAddToCat; |
|
159 txt = qtn_lm_opt_add_to_category; |
|
160 flags = EEikMenuItemSpecific; |
|
161 }, |
|
162 MENU_ITEM |
|
163 { |
|
164 command = ELmkShowOnMapPlaceHolder; |
|
165 txt = qtn_mnn_option_show_on_map; |
|
166 flags = EEikMenuItemSpecific; |
|
167 }, |
|
168 MENU_ITEM |
|
169 { |
|
170 command = ELmkNavigateToPlaceHolder; |
|
171 txt = qtn_mnn_option_navigate_to; |
|
172 flags = EEikMenuItemSpecific; |
|
173 }, |
|
174 MENU_ITEM |
|
175 { |
|
176 command = ELmkCmdSendDummy; |
|
177 txt = qtn_options_send_via; |
|
178 }, |
|
179 // This menu item will be replaced by AIW. |
|
180 MENU_ITEM |
|
181 { |
|
182 command = ELmkAppMenuAiwId; // The same ID than in interest. |
|
183 txt = qtn_options_call; // Will be replaced by AIW (plugin). |
|
184 cascade = r_lmk_app_call_submenu; // Added submenu for AIW usage. |
|
185 }, |
|
186 MENU_ITEM |
|
187 { |
|
188 command = ELmkCmdGoToUrl; |
|
189 txt = qtn_lm_opt_go_to_url; |
|
190 } |
|
191 }; |
|
192 } |
|
193 |
|
194 // ----------------------------------------------------------------------------- |
|
195 // |
|
196 // r_lmk_app_call_submenu |
|
197 // |
|
198 // The submenu where call menu options are put by AVKON. |
|
199 // ----------------------------------------------------------------------------- |
|
200 // |
|
201 RESOURCE MENU_PANE r_lmk_app_call_submenu |
|
202 { |
|
203 items = |
|
204 { |
|
205 // This menu item will be replaced by AIW. |
|
206 MENU_ITEM |
|
207 { |
|
208 command = ELmkAppSubMenuAiwId; // The same ID than in interest. |
|
209 txt = ""; // Will be replaced by AIW (plugin). |
|
210 } |
|
211 }; |
|
212 } |
|
213 |
|
214 // ----------------------------------------------------------------------------- |
|
215 // |
|
216 // r_lmk_app_aiw_interest |
|
217 // |
|
218 // ----------------------------------------------------------------------------- |
|
219 // |
|
220 RESOURCE AIW_INTEREST r_lmk_app_aiw_interest |
|
221 { |
|
222 items= |
|
223 { |
|
224 // This application is interested in calling from menu. |
|
225 AIW_CRITERIA_ITEM |
|
226 { |
|
227 // Some unique id in this RSS, by default use KaiwCmdCall. |
|
228 id = ELmkAppSubMenuAiwId; |
|
229 serviceCmd = KAiwCmdCall; |
|
230 serviceClass = KAiwClassMenu; |
|
231 contentType = "*"; |
|
232 defaultProvider = 0x101F868E; |
|
233 maxProviders = 1; |
|
234 } |
178 } |
235 }; |
179 }; |
236 } |
180 } |
237 |
181 |
238 //---------------------------------------------------- |
182 //---------------------------------------------------- |
331 cascade = r_lmk_new_landmark_submenu; |
264 cascade = r_lmk_new_landmark_submenu; |
332 flags = EEikMenuItemDimmed; |
265 flags = EEikMenuItemDimmed; |
333 }, |
266 }, |
334 MENU_ITEM |
267 MENU_ITEM |
335 { |
268 { |
|
269 command = ELmkCmdAddToCat; |
|
270 txt = qtn_lm_opt_add_to_category; |
|
271 }, |
|
272 MENU_ITEM |
|
273 { |
|
274 command = ELmkCmdSendDummy; |
|
275 txt = qtn_options_send_via; |
|
276 }, |
|
277 MENU_ITEM |
|
278 { |
336 command = ELmkCmdDeleteLm; |
279 command = ELmkCmdDeleteLm; |
337 txt = qtn_lm_opt_delete_landmark; |
280 txt = qtn_lm_opt_delete_landmark; |
338 }, |
|
339 MENU_ITEM |
|
340 { |
|
341 command = ELmkCmdAddToCat; |
|
342 txt = qtn_lm_opt_add_to_category; |
|
343 }, |
|
344 MENU_ITEM |
|
345 { |
|
346 command = ELmkCmdSendDummy; |
|
347 txt = qtn_options_send_via; |
|
348 } |
281 } |
349 }; |
282 }; |
350 } |
283 } |
351 |
284 |
352 //---------------------------------------------------- |
285 //---------------------------------------------------- |