|
1 /* |
|
2 * Copyright (c) 2002 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 - Contains the resources for LmkEditor. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 // INCLUDES |
|
25 #include <AiwCommon.hrh> |
|
26 #include <AiwCommon.rh> |
|
27 #include <AknFep.rsg> |
|
28 #include <eikctl.rsg> |
|
29 |
|
30 //---------------------------------------------------- |
|
31 // |
|
32 // r_lmk_editor_menubar |
|
33 // |
|
34 //---------------------------------------------------- |
|
35 // |
|
36 RESOURCE MENU_BAR r_lmk_editor_menubar |
|
37 { |
|
38 titles= |
|
39 { |
|
40 MENU_TITLE { menu_pane=r_lmk_editor_menu; txt=""; }, |
|
41 MENU_TITLE { menu_pane=r_lmk_editor_main_menu; txt=""; } |
|
42 |
|
43 }; |
|
44 } |
|
45 |
|
46 //---------------------------------------------------- |
|
47 // |
|
48 // r_lmk_editor_menu |
|
49 // |
|
50 //---------------------------------------------------- |
|
51 // |
|
52 RESOURCE MENU_PANE r_lmk_editor_main_menu |
|
53 { |
|
54 items= |
|
55 { |
|
56 MENU_ITEM { command=EAknCmdHelp; txt=qtn_options_help; }, |
|
57 MENU_ITEM { command=EAknCmdExit; txt=qtn_options_exit; } |
|
58 }; |
|
59 } |
|
60 |
|
61 //---------------------------------------------------- |
|
62 // |
|
63 // r_lmk_editor_menu |
|
64 // |
|
65 //---------------------------------------------------- |
|
66 // |
|
67 RESOURCE MENU_PANE r_lmk_editor_menu |
|
68 { |
|
69 items= |
|
70 { |
|
71 MENU_ITEM { command=ELmkCmdEditLm; |
|
72 txt=qtn_lm_opt_edit_landmark; |
|
73 }, |
|
74 MENU_ITEM { command=ELmkCmdSelectCategories; |
|
75 txt=qtn_lm_opt_select_categories; |
|
76 }, |
|
77 MENU_ITEM { command=ELmkCmdCategories; |
|
78 txt=qtn_lm_title_edit_categories; |
|
79 }, |
|
80 MENU_ITEM { command=ELmkCmdCurrentLocation; |
|
81 txt=qtn_lm_editor_use_current; |
|
82 }, |
|
83 MENU_ITEM { command=ELmkCmdDeleteLm; |
|
84 txt=qtn_lm_opt_delete_landmark; |
|
85 }, |
|
86 MENU_ITEM { command=ELmkCmdChangeIcon; |
|
87 txt=qtn_lm_opt_change_landmark_icon; |
|
88 }, |
|
89 MENU_ITEM { command=ELmkCmdSaveLm; |
|
90 txt=qtn_lm_opt_save; |
|
91 }, |
|
92 MENU_ITEM { command = ELmkShowOnMapPlaceHolder; |
|
93 txt =""; |
|
94 }, |
|
95 MENU_ITEM { command = ELmkNavigateToPlaceHolder; |
|
96 txt =""; |
|
97 }, |
|
98 MENU_ITEM { command=ELmkCmdSendDummy; |
|
99 txt = qtn_options_send_via; |
|
100 }, |
|
101 MENU_ITEM { command=ELmkCmdClearPosInfo; |
|
102 txt=qtn_lm_opt_clear_pos_info; |
|
103 }, |
|
104 MENU_ITEM { command=ELmkCmdEditTextLm; |
|
105 txt = qtn_options_edit; |
|
106 cascade = R_AKNFEP_EDIT_SUBMENU; |
|
107 }, |
|
108 MENU_ITEM { command=ELmkCmdCall; |
|
109 txt=qtn_options_call; |
|
110 }, |
|
111 MENU_ITEM { command=ELmkCmdGoToUrl; |
|
112 txt=qtn_lm_opt_go_to_url; |
|
113 } |
|
114 }; |
|
115 } |
|
116 |
|
117 //---------------------------------------------------- |
|
118 // |
|
119 // r_lmk_editor_dialog |
|
120 // |
|
121 //---------------------------------------------------- |
|
122 // |
|
123 RESOURCE DIALOG r_lmk_editor_dialog |
|
124 { |
|
125 flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | |
|
126 EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons | |
|
127 EEikDialogFlagWait; |
|
128 buttons = r_lmk_received_viewer_softkeys_options_done_contextoptions; |
|
129 form = r_lmk_editor_form; |
|
130 } |
|
131 |
|
132 //---------------------------------------------------- |
|
133 // |
|
134 // r_lmk_viewer_dialog |
|
135 // |
|
136 //---------------------------------------------------- |
|
137 // |
|
138 RESOURCE DIALOG r_lmk_viewer_dialog |
|
139 { |
|
140 flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | |
|
141 EEikDialogFlagFillAppClientRect | EEikDialogFlagCbaButtons | |
|
142 EEikDialogFlagWait; |
|
143 buttons = r_lmk_received_viewer_softkeys_options_back_contextoptions; |
|
144 form = r_lmk_editor_form; |
|
145 } |
|
146 |
|
147 //---------------------------------------------------- |
|
148 // |
|
149 // r_lmk_editor_form |
|
150 // |
|
151 //---------------------------------------------------- |
|
152 // |
|
153 RESOURCE FORM r_lmk_editor_form |
|
154 { |
|
155 // dynamic form resource |
|
156 flags = EEikFormShowBitmaps | |
|
157 EEikFormUseDoubleSpacedFormat; |
|
158 } |
|
159 |
|
160 //---------------------------------------------------- |
|
161 // |
|
162 // r_lmk_name_label |
|
163 // |
|
164 // |
|
165 //---------------------------------------------------- |
|
166 // |
|
167 RESOURCE TBUF r_lmk_name_label |
|
168 { |
|
169 buf = qtn_lm_form_label_lm_name; |
|
170 } |
|
171 |
|
172 //---------------------------------------------------- |
|
173 // |
|
174 // r_lmk_category_label |
|
175 // |
|
176 // |
|
177 //---------------------------------------------------- |
|
178 // |
|
179 RESOURCE TBUF r_lmk_category_label |
|
180 { |
|
181 buf = qtn_lm_form_label_category; |
|
182 } |
|
183 |
|
184 //---------------------------------------------------- |
|
185 // |
|
186 // r_lmk_categories_label |
|
187 // |
|
188 // |
|
189 //---------------------------------------------------- |
|
190 // |
|
191 RESOURCE TBUF r_lmk_categories_label |
|
192 { |
|
193 buf = qtn_lm_form_label_categories; |
|
194 } |
|
195 |
|
196 //---------------------------------------------------- |
|
197 // |
|
198 // r_lmk_street_label |
|
199 // |
|
200 // |
|
201 //---------------------------------------------------- |
|
202 // |
|
203 RESOURCE TBUF r_lmk_street_label |
|
204 { |
|
205 buf = qtn_lm_form_label_street; |
|
206 } |
|
207 |
|
208 //---------------------------------------------------- |
|
209 // |
|
210 // r_lmk_city_label |
|
211 // |
|
212 // |
|
213 //---------------------------------------------------- |
|
214 // |
|
215 RESOURCE TBUF r_lmk_city_label |
|
216 { |
|
217 buf = qtn_lm_form_label_city; |
|
218 } |
|
219 |
|
220 //---------------------------------------------------- |
|
221 // |
|
222 // r_lmk_state_province_label |
|
223 // |
|
224 // |
|
225 //---------------------------------------------------- |
|
226 // |
|
227 RESOURCE TBUF r_lmk_state_province_label |
|
228 { |
|
229 buf = qtn_lm_form_label_state; |
|
230 } |
|
231 |
|
232 //---------------------------------------------------- |
|
233 // |
|
234 // r_lmk_country_label |
|
235 // |
|
236 // |
|
237 //---------------------------------------------------- |
|
238 // |
|
239 RESOURCE TBUF r_lmk_country_label |
|
240 { |
|
241 buf = qtn_lm_form_label_country; |
|
242 } |
|
243 |
|
244 //---------------------------------------------------- |
|
245 // |
|
246 // r_lmk_post_code_label |
|
247 // |
|
248 // |
|
249 //---------------------------------------------------- |
|
250 // |
|
251 RESOURCE TBUF r_lmk_post_code_label |
|
252 { |
|
253 buf = qtn_lm_form_label_postal_code; |
|
254 } |
|
255 |
|
256 //---------------------------------------------------- |
|
257 // |
|
258 // r_lmk_latitude_label |
|
259 // |
|
260 // |
|
261 //---------------------------------------------------- |
|
262 // |
|
263 RESOURCE TBUF r_lmk_latitude_label |
|
264 { |
|
265 buf = qtn_lm_form_label_latitude; |
|
266 } |
|
267 |
|
268 //---------------------------------------------------- |
|
269 // |
|
270 // r_lmk_longitude_label |
|
271 // |
|
272 // |
|
273 //---------------------------------------------------- |
|
274 // |
|
275 RESOURCE TBUF r_lmk_longitude_label |
|
276 { |
|
277 buf = qtn_lm_form_label_longitude; |
|
278 } |
|
279 |
|
280 //---------------------------------------------------- |
|
281 // |
|
282 // r_lmk_position_accuracy_label |
|
283 // |
|
284 // |
|
285 //---------------------------------------------------- |
|
286 // |
|
287 RESOURCE TBUF r_lmk_position_accuracy_label |
|
288 { |
|
289 buf = qtn_lm_form_label_horiz_accuracy; |
|
290 } |
|
291 |
|
292 //---------------------------------------------------- |
|
293 // |
|
294 // r_lmk_altitude_label |
|
295 // |
|
296 // |
|
297 //---------------------------------------------------- |
|
298 // |
|
299 RESOURCE TBUF r_lmk_altitude_label |
|
300 { |
|
301 buf = qtn_lm_form_label_altitude; |
|
302 } |
|
303 |
|
304 //---------------------------------------------------- |
|
305 // |
|
306 // r_lmk_altitude_accuracy_label |
|
307 // |
|
308 // |
|
309 //---------------------------------------------------- |
|
310 // |
|
311 RESOURCE TBUF r_lmk_altitude_accuracy_label |
|
312 { |
|
313 buf = qtn_lm_form_label_vert_accuracy; |
|
314 } |
|
315 |
|
316 //---------------------------------------------------- |
|
317 // |
|
318 // r_lmk_description_label |
|
319 // |
|
320 // |
|
321 //---------------------------------------------------- |
|
322 // |
|
323 RESOURCE TBUF r_lmk_description_label |
|
324 { |
|
325 buf = qtn_lm_form_label_description; |
|
326 } |
|
327 |
|
328 //---------------------------------------------------- |
|
329 // |
|
330 // r_lmk_phone_number_label |
|
331 // |
|
332 // |
|
333 //---------------------------------------------------- |
|
334 // |
|
335 RESOURCE TBUF r_lmk_phone_number_label |
|
336 { |
|
337 buf = qtn_lm_form_label_phone; |
|
338 } |
|
339 |
|
340 //---------------------------------------------------- |
|
341 // |
|
342 // r_lmk_web_address_label |
|
343 // |
|
344 // |
|
345 //---------------------------------------------------- |
|
346 // |
|
347 RESOURCE TBUF r_lmk_web_address_label |
|
348 { |
|
349 buf = qtn_lm_form_label_url; |
|
350 } |
|
351 |
|
352 //---------------------------------------------------- |
|
353 // |
|
354 // r_lmk_empty_landmark_name_note |
|
355 // Information note |
|
356 // |
|
357 //---------------------------------------------------- |
|
358 // |
|
359 RESOURCE TBUF r_lmk_empty_landmark_name_note |
|
360 { |
|
361 buf = qtn_lm_note_enter_lm_name; |
|
362 } |
|
363 |
|
364 //---------------------------------------------------- |
|
365 // |
|
366 // r_lmk_categories_list_format |
|
367 // Format string |
|
368 // |
|
369 //---------------------------------------------------- |
|
370 // |
|
371 RESOURCE TBUF r_lmk_categories_list_format |
|
372 { |
|
373 buf = qtn_lm_multiple_categories; |
|
374 } |
|
375 |
|
376 //---------------------------------------------------- |
|
377 // |
|
378 // r_lmk_categories_popup_title |
|
379 // Categories popup title |
|
380 // |
|
381 //---------------------------------------------------- |
|
382 // |
|
383 RESOURCE TBUF r_lmk_categories_popup_title |
|
384 { |
|
385 buf = qtn_lm_title_categories; |
|
386 } |
|
387 |
|
388 //---------------------------------------------------- |
|
389 // |
|
390 // r_lmk_service_rule_name |
|
391 // Logical service rule name |
|
392 // |
|
393 //---------------------------------------------------- |
|
394 // |
|
395 RESOURCE TBUF r_lmk_service_rule_name |
|
396 { |
|
397 buf = qtn_lm_service_rule_name; |
|
398 } |
|
399 |
|
400 //---------------------------------------------------- |
|
401 // |
|
402 // r_lmk_distance_editor_type_m |
|
403 // Distance editor's type |
|
404 // |
|
405 //---------------------------------------------------- |
|
406 // |
|
407 RESOURCE TBUF r_lmk_distance_editor_type_m |
|
408 { |
|
409 buf = qtn_lm_distance_editor_meter; |
|
410 } |
|
411 |
|
412 //---------------------------------------------------- |
|
413 // |
|
414 // r_lmk_distance_editor_type_km |
|
415 // Distance editor's type |
|
416 // |
|
417 //---------------------------------------------------- |
|
418 // |
|
419 RESOURCE TBUF r_lmk_distance_editor_type_km |
|
420 { |
|
421 buf = qtn_lm_distance_editor_kilometer; |
|
422 } |
|
423 |
|
424 //---------------------------------------------------- |
|
425 // |
|
426 // r_lmk_distance_editor_type_ft |
|
427 // Distance editor's type |
|
428 // |
|
429 //---------------------------------------------------- |
|
430 // |
|
431 RESOURCE TBUF r_lmk_distance_editor_type_ft |
|
432 { |
|
433 buf = qtn_lm_distance_editor_foot; |
|
434 } |
|
435 |
|
436 //---------------------------------------------------- |
|
437 // |
|
438 // r_lmk_distance_editor_type_mi |
|
439 // Distance editor's type |
|
440 // |
|
441 //---------------------------------------------------- |
|
442 // |
|
443 RESOURCE TBUF r_lmk_distance_editor_type_mi |
|
444 { |
|
445 buf = qtn_lm_distance_editor_mile; |
|
446 } |
|
447 |
|
448 //---------------------------------------------------- |
|
449 // |
|
450 // r_lmk_cardinal_point_n |
|
451 // Editor's cardinal point |
|
452 // |
|
453 //---------------------------------------------------- |
|
454 // |
|
455 RESOURCE TBUF r_lmk_cardinal_point_n |
|
456 { |
|
457 buf = qtn_lm_latitude_editor_north; |
|
458 } |
|
459 |
|
460 //---------------------------------------------------- |
|
461 // |
|
462 // r_lmk_cardinal_point_s |
|
463 // Editor's cardinal point |
|
464 // |
|
465 //---------------------------------------------------- |
|
466 // |
|
467 RESOURCE TBUF r_lmk_cardinal_point_s |
|
468 { |
|
469 buf = qtn_lm_latitude_editor_south; |
|
470 } |
|
471 |
|
472 //---------------------------------------------------- |
|
473 // |
|
474 // r_lmk_cardinal_point_w |
|
475 // Editor's cardinal point |
|
476 // |
|
477 //---------------------------------------------------- |
|
478 // |
|
479 RESOURCE TBUF r_lmk_cardinal_point_w |
|
480 { |
|
481 buf = qtn_lm_longitude_editor_west; |
|
482 } |
|
483 |
|
484 //---------------------------------------------------- |
|
485 // |
|
486 // r_lmk_cardinal_point_e |
|
487 // Editor's cardinal point |
|
488 // |
|
489 //---------------------------------------------------- |
|
490 // |
|
491 RESOURCE TBUF r_lmk_cardinal_point_e |
|
492 { |
|
493 buf = qtn_lm_longitude_editor_east; |
|
494 } |
|
495 |
|
496 //---------------------------------------------------- |
|
497 // |
|
498 // r_lmk_degree_mark |
|
499 // Editor's degree mark |
|
500 // |
|
501 //---------------------------------------------------- |
|
502 // |
|
503 RESOURCE TBUF r_lmk_degree_mark |
|
504 { |
|
505 buf = qtn_lm_coordinate_editor_degree; |
|
506 } |
|
507 |
|
508 //---------------------------------------------------- |
|
509 // |
|
510 // r_lmk_location_retry_query |
|
511 // Location request Retry query |
|
512 // |
|
513 //---------------------------------------------------- |
|
514 // |
|
515 RESOURCE DIALOG r_lmk_location_retry_query |
|
516 { |
|
517 flags = EGeneralQueryFlags; |
|
518 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
519 items = |
|
520 { |
|
521 DLG_LINE |
|
522 { |
|
523 type = EAknCtQuery; |
|
524 id = EGeneralQuery; |
|
525 control = AVKON_CONFIRMATION_QUERY |
|
526 { |
|
527 layout = EConfirmationQueryLayout; |
|
528 label=qtn_lm_conf_retry_location_request; |
|
529 }; |
|
530 } |
|
531 }; |
|
532 } |
|
533 |
|
534 //---------------------------------------------------- |
|
535 // r_lmk_categories_query_prmopt |
|
536 // |
|
537 // |
|
538 // |
|
539 //---------------------------------------------------- |
|
540 // |
|
541 RESOURCE TBUF r_lmk_categories_query_prompt |
|
542 { |
|
543 buf = qtn_lm_categories_query_prompt; |
|
544 } |
|
545 |
|
546 //---------------------------------------------------- |
|
547 // |
|
548 // r_lmk_message_query_dialog |
|
549 // |
|
550 // |
|
551 //---------------------------------------------------- |
|
552 // |
|
553 RESOURCE DIALOG r_lmk_message_query_dialog |
|
554 { |
|
555 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
556 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
557 items= |
|
558 { |
|
559 DLG_LINE |
|
560 { |
|
561 type = EAknCtPopupHeadingPane; |
|
562 id = EAknMessageQueryHeaderId; |
|
563 control = AVKON_HEADING |
|
564 { |
|
565 label = qtn_lm_categories_query_prompt; |
|
566 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
567 }; |
|
568 }, |
|
569 DLG_LINE |
|
570 { |
|
571 type = EAknCtMessageQuery; |
|
572 id = EAknMessageQueryContentId; |
|
573 control = AVKON_MESSAGE_QUERY |
|
574 { |
|
575 message = ""; |
|
576 }; |
|
577 } |
|
578 }; |
|
579 } |
|
580 |
|
581 //---------------------------------------------------- |
|
582 // |
|
583 // r_lmk_editor_context_menubar |
|
584 // |
|
585 //---------------------------------------------------- |
|
586 // |
|
587 RESOURCE MENU_BAR r_lmk_editor_context_menubar |
|
588 { |
|
589 titles= |
|
590 { |
|
591 MENU_TITLE { menu_pane=r_lmk_editor_context_menu; txt=""; } |
|
592 }; |
|
593 } |
|
594 |
|
595 //---------------------------------------------------- |
|
596 // |
|
597 // r_lmk_editor_context_menu |
|
598 // |
|
599 // |
|
600 //---------------------------------------------------- |
|
601 // |
|
602 #if 0 |
|
603 RESOURCE MENU_PANE r_lmk_editor_context_menu |
|
604 { |
|
605 items= |
|
606 { |
|
607 MENU_ITEM { command = ELmkCmdEditLm; |
|
608 txt = qtn_form_litxt_edit; |
|
609 }, |
|
610 // This menu item will be replaced by AIW. |
|
611 //MENU_ITEM { command = KLmkAppAiwId; // The same ID than in interest. |
|
612 //txt = ""; // Will be replaced by AIW (plugin). |
|
613 //}, |
|
614 //MENU_ITEM { command=ELmkCmdCall; |
|
615 // txt=qtn_options_call; |
|
616 // }, |
|
617 MENU_ITEM { command=ELmkCmdGoToUrl; |
|
618 txt=qtn_wml_list_open; |
|
619 } |
|
620 }; |
|
621 } |
|
622 |
|
623 #endif |
|
624 |
|
625 RESOURCE MENU_PANE r_lmk_editor_context_menu |
|
626 { |
|
627 items= |
|
628 { |
|
629 MENU_ITEM { command = ELmkCmdEditLm; |
|
630 txt = qtn_form_litxt_edit; |
|
631 }, |
|
632 // This menu item will be replaced by AIW. |
|
633 MENU_ITEM { command = ELmkEditMenuAiwId; // The same ID than in interest. |
|
634 txt = qtn_options_call; // Will be replaced by AIW (plugin). |
|
635 cascade = r_lmk_editor_call_submenu; // Added submenu for AIW usage. |
|
636 }, |
|
637 MENU_ITEM { command=ELmkCmdGoToUrl; |
|
638 txt=qtn_options_open; |
|
639 } |
|
640 }; |
|
641 } |
|
642 |
|
643 // ----------------------------------------------------------------------------- |
|
644 // |
|
645 // r_lmk_editor_call_submenu |
|
646 // |
|
647 // The submenu where call menu options are put by AVKON. |
|
648 // ----------------------------------------------------------------------------- |
|
649 // |
|
650 RESOURCE MENU_PANE r_lmk_editor_call_submenu |
|
651 { |
|
652 items = |
|
653 { |
|
654 // This menu item will be replaced by AIW. |
|
655 MENU_ITEM |
|
656 { |
|
657 command = ELmkEditSubMenuAiwId; // The same ID than in interest. |
|
658 txt = ""; // Will be replaced by AIW (plugin). |
|
659 } |
|
660 }; |
|
661 } |
|
662 |
|
663 |
|
664 // ----------------------------------------------------------------------------- |
|
665 // |
|
666 // r_lmk_editor_aiw_interest |
|
667 // |
|
668 // ----------------------------------------------------------------------------- |
|
669 // |
|
670 RESOURCE AIW_INTEREST r_lmk_editor_aiw_interest |
|
671 { |
|
672 items= |
|
673 { |
|
674 // This application is interested in calling from menu. |
|
675 AIW_CRITERIA_ITEM |
|
676 { |
|
677 // Some unique id in this RSS, by default use KaiwCmdCall. |
|
678 id = ELmkEditSubMenuAiwId; |
|
679 serviceCmd = KAiwCmdCall; |
|
680 serviceClass = KAiwClassMenu; |
|
681 contentType = "*"; |
|
682 defaultProvider = 0x101F868E; |
|
683 maxProviders = 1; |
|
684 } |
|
685 }; |
|
686 } |
|
687 |
|
688 //---------------------------------------------------- |
|
689 // |
|
690 // r_lmk_aiw_interest_showonmap |
|
691 // AIW interest for option show on map |
|
692 // |
|
693 //---------------------------------------------------- |
|
694 // |
|
695 RESOURCE AIW_INTEREST r_lmk_editor_aiw_interest_showonmap |
|
696 { |
|
697 items = |
|
698 { |
|
699 AIW_CRITERIA_ITEM |
|
700 { |
|
701 id = ELmkShowOnMapPlaceHolder; |
|
702 serviceCmd = KAiwCmdMnShowMap; |
|
703 contentType = "application/x-landmark"; |
|
704 serviceClass = KAiwClassMenu; |
|
705 } |
|
706 }; |
|
707 } |
|
708 |
|
709 //---------------------------------------------------- |
|
710 // |
|
711 // r_lmk_aiw_interest_navigateto |
|
712 // AIW interest for option navigate to |
|
713 // |
|
714 //---------------------------------------------------- |
|
715 // |
|
716 RESOURCE AIW_INTEREST r_lmk_editor_aiw_interest_navigateto |
|
717 { |
|
718 items = |
|
719 { |
|
720 AIW_CRITERIA_ITEM |
|
721 { |
|
722 id = ELmkNavigateToPlaceHolder; |
|
723 serviceCmd = KAiwCmdMnNavigateTo; |
|
724 contentType = "application/x-landmark"; |
|
725 serviceClass = KAiwClassMenu; |
|
726 } |
|
727 }; |
|
728 } |
|
729 |
|
730 //---------------------------------------------------- |
|
731 // |
|
732 // r_lm_msk_show |
|
733 // Show MSK string |
|
734 // |
|
735 //---------------------------------------------------- |
|
736 // |
|
737 RESOURCE TBUF r_lm_msk_show |
|
738 { |
|
739 buf = qtn_msk_lm_show; |
|
740 } |
|
741 |
|
742 //---------------------------------------------------- |
|
743 // |
|
744 // r_lm_msk_call |
|
745 // Call MSK string |
|
746 //---------------------------------------------------- |
|
747 // |
|
748 RESOURCE TBUF r_lm_msk_call |
|
749 { |
|
750 buf = qtn_msk_lm_call; |
|
751 } |
|
752 //---------------------------------------------------- |
|
753 // |
|
754 // r_lm_msk_browse |
|
755 // Browse MSK string |
|
756 // |
|
757 //---------------------------------------------------- |
|
758 // |
|
759 RESOURCE TBUF r_lm_msk_browse |
|
760 { |
|
761 buf = qtn_msk_lm_browse; |
|
762 } |
|
763 //---------------------------------------------------- |
|
764 // |
|
765 // r_lm_msk_edit |
|
766 // Edit MSK string |
|
767 // |
|
768 //---------------------------------------------------- |
|
769 // |
|
770 RESOURCE TBUF r_lm_msk_edit |
|
771 { |
|
772 buf = qtn_msk_edit; |
|
773 } |
|
774 //---------------------------------------------------- |
|
775 // |
|
776 // r_lm_query_editor_replace |
|
777 // Landmark’s coordinate data will be replaced. Proceed? |
|
778 // |
|
779 //---------------------------------------------------- |
|
780 // |
|
781 RESOURCE TBUF r_lm_query_editor_replace |
|
782 { |
|
783 buf = qtn_lm_query_editor_replace; |
|
784 } |
|
785 |
|
786 //---------------------------------------------------- |
|
787 // |
|
788 // r_lmk_received_viewer_softkeys_options_back_contextoptions |
|
789 // Context menu option for Landmarks viewer |
|
790 // |
|
791 //---------------------------------------------------- |
|
792 // |
|
793 RESOURCE CBA r_lmk_received_viewer_softkeys_options_back_contextoptions |
|
794 { |
|
795 buttons = |
|
796 { |
|
797 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
798 CBA_BUTTON {id=EAknSoftkeyBack; txt = text_softkey_back; }, |
|
799 CBA_BUTTON {id=EAknSoftkeyContextOptions; txt = text_softkey_option;} |
|
800 }; |
|
801 } |
|
802 //---------------------------------------------------- |
|
803 // |
|
804 // r_lmk_received_viewer_softkeys_options_done_contextoptions |
|
805 // Currently this is a dummy context menu added to fix |
|
806 // an error, where, when list item is empty,msk clicking |
|
807 // pops up a menu, which is wrong, hence this fix. |
|
808 // |
|
809 //---------------------------------------------------- |
|
810 // |
|
811 RESOURCE CBA r_lmk_received_viewer_softkeys_options_done_contextoptions |
|
812 { |
|
813 buttons = |
|
814 { |
|
815 CBA_BUTTON {id=EAknSoftkeyOptions; txt = text_softkey_option;}, |
|
816 CBA_BUTTON {id=EAknSoftkeyDone; txt = text_softkey_done; }, |
|
817 CBA_BUTTON {id=EAknSoftkeyContextOptions; txt = text_softkey_option;} |
|
818 }; |
|
819 } |
|
820 //---------------------------------------------------- |
|
821 // |
|
822 // r_lmk_msgviewer_context_menubar |
|
823 // Context menu bar for received Landmarks viewer |
|
824 // |
|
825 //---------------------------------------------------- |
|
826 // |
|
827 RESOURCE MENU_BAR r_lmk_msgviewer_context_menubar |
|
828 { |
|
829 titles= |
|
830 { |
|
831 MENU_TITLE { menu_pane=r_lmk_editor_menu; txt=""; } |
|
832 }; |
|
833 } |
|
834 //---------------------------------------------------- |
|
835 // |
|
836 // r_lmk_msgviewer_context_menu |
|
837 // Context menu option for received Landmarks viewer |
|
838 // |
|
839 //---------------------------------------------------- |
|
840 // |
|
841 RESOURCE MENU_PANE r_lmk_msgviewer_context_menu |
|
842 { |
|
843 items= |
|
844 { |
|
845 MENU_ITEM { command = ELmkCmdEditLm; |
|
846 txt = qtn_form_litxt_edit; |
|
847 }, |
|
848 MENU_ITEM { command=ELmkCmdGoToUrl; |
|
849 txt=qtn_options_open; |
|
850 } |
|
851 }; |
|
852 } |
|
853 //---------------------------------------------------- |
|
854 // |
|
855 // r_lmk_lat_editor |
|
856 // Avkon's Latitude editor |
|
857 // |
|
858 //---------------------------------------------------- |
|
859 // |
|
860 RESOURCE LATITUDE_EDITOR r_lmk_lat_editor |
|
861 { |
|
862 flags = ELocationEdFlagLatitude; |
|
863 latlongresourceid = R_EIK_LATITUDE_AND_LONGITUDE; |
|
864 } |
|
865 //---------------------------------------------------- |
|
866 // |
|
867 // r_lmk_long_editor |
|
868 // Avkon's Longitude editor |
|
869 // |
|
870 //---------------------------------------------------- |
|
871 // |
|
872 RESOURCE LONGITUDE_EDITOR r_lmk_long_editor |
|
873 { |
|
874 flags = ELocationEdFlagLongitude; |
|
875 latlongresourceid = R_EIK_LATITUDE_AND_LONGITUDE; |
|
876 } |
|
877 //---------------------------------------------------- |
|
878 // |
|
879 // r_lmk_unit_editor_metric |
|
880 // Avkon's distance editor using metric units |
|
881 // |
|
882 //---------------------------------------------------- |
|
883 // |
|
884 RESOURCE AVKON_UNIT_EDITOR r_lmk_unit_editor_metric |
|
885 { |
|
886 min = 0; |
|
887 max = 20000; // KMaxAccuracy |
|
888 maxfractionaldigits = 2; |
|
889 flags = EAknUnitEditorAllowUninitialized; |
|
890 } |
|
891 //---------------------------------------------------- |
|
892 // |
|
893 // r_lmk_unit_editor_imperial |
|
894 // Avkon's distance editor using imperial units |
|
895 // |
|
896 //---------------------------------------------------- |
|
897 // |
|
898 RESOURCE AVKON_UNIT_EDITOR r_lmk_unit_editor_imperial |
|
899 { |
|
900 min = 0; |
|
901 max = 6099; // KMaxAccuracy/KMetreToFoot |
|
902 maxfractionaldigits = 2; |
|
903 flags = EAknUnitEditorAllowUninitialized; |
|
904 } |
|
905 // End of File |