|
1 /* |
|
2 * Copyright (c) 2005 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: Contains all the resource definitions for SUPL Settings UI. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 |
|
21 NAME SEST // 4 Letter Identifier |
|
22 |
|
23 // INCLUDES |
|
24 |
|
25 #include <data_caging_paths_strings.hrh> |
|
26 #include <bldvariant.hrh> |
|
27 #include <eikcore.rsg> |
|
28 #include <eikon.rh> |
|
29 #include <eikon.rsg> |
|
30 #include <avkon.rh> |
|
31 #include <avkon.rsg> |
|
32 #include <avkon.mbg> |
|
33 #include <avkon.loc> |
|
34 #include <avkon.hrh> |
|
35 |
|
36 #include "locsuplsettings.hrh" |
|
37 #include <locsuplsettings.loc> |
|
38 |
|
39 |
|
40 // RESOURCE DEFINITIONS |
|
41 |
|
42 RESOURCE RSS_SIGNATURE |
|
43 { |
|
44 } |
|
45 |
|
46 //---------------------------------------------------- |
|
47 // r_loc_supl_iap_query |
|
48 // Confirmation Query prompt text for SUPL Settings |
|
49 //---------------------------------------------------- |
|
50 // |
|
51 RESOURCE TBUF r_loc_supl_iap_query |
|
52 { |
|
53 buf = qtn_loc_supl_iap_query; |
|
54 } |
|
55 |
|
56 //---------------------------------------------------- |
|
57 // r_suplsettings_caption |
|
58 // Caption for SUPL Settings UI |
|
59 //---------------------------------------------------- |
|
60 // |
|
61 RESOURCE TBUF r_suplsettings_caption |
|
62 { |
|
63 buf = qtn_loc_settings_supl; |
|
64 } |
|
65 |
|
66 //------------------------------------------------------------------------------ |
|
67 // r_suplsettings_view |
|
68 // SUPL Settings Configuration view |
|
69 //------------------------------------------------------------------------------ |
|
70 // |
|
71 RESOURCE AVKON_VIEW r_suplsettings_view |
|
72 { |
|
73 menubar = r_suplsettings_menubar_view; |
|
74 cba = r_suplsettings_options_change_back; |
|
75 } |
|
76 |
|
77 //---------------------------------------------------- |
|
78 // r_suplsettings_options_change_back |
|
79 // CBA for SUPL Settings UI view. |
|
80 //---------------------------------------------------- |
|
81 // |
|
82 RESOURCE CBA r_suplsettings_options_change_back |
|
83 { |
|
84 flags = 0; |
|
85 buttons = |
|
86 { |
|
87 CBA_BUTTON |
|
88 { |
|
89 id = EAknSoftkeyOptions; |
|
90 txt = text_softkey_option; |
|
91 }, |
|
92 CBA_BUTTON |
|
93 { |
|
94 id = EAknSoftkeyBack; |
|
95 txt = text_softkey_back; |
|
96 }, |
|
97 CBA_BUTTON |
|
98 { |
|
99 id = ELocSuplMSKChange; |
|
100 txt = qtn_msk_change; |
|
101 } |
|
102 }; |
|
103 } |
|
104 |
|
105 //---------------------------------------------------- |
|
106 // r_suplsettings_options_open_back |
|
107 // CBA for SUPL Settings UI view. |
|
108 //---------------------------------------------------- |
|
109 // |
|
110 RESOURCE CBA r_suplsettings_options_open_back |
|
111 { |
|
112 flags = 0; |
|
113 buttons = |
|
114 { |
|
115 CBA_BUTTON |
|
116 { |
|
117 id = EAknSoftkeyOptions; |
|
118 txt = text_softkey_option; |
|
119 }, |
|
120 CBA_BUTTON |
|
121 { |
|
122 id = EAknSoftkeyBack; |
|
123 txt = text_softkey_back; |
|
124 }, |
|
125 CBA_BUTTON |
|
126 { |
|
127 id = ELocSuplMSKOpen; |
|
128 txt = qtn_msk_open; |
|
129 } |
|
130 }; |
|
131 } |
|
132 |
|
133 //---------------------------------------------------- |
|
134 // r_suplsettings_options_nomsk_back |
|
135 // CBA for SUPL Settings UI view. |
|
136 //---------------------------------------------------- |
|
137 // |
|
138 RESOURCE CBA r_suplsettings_options_nomsk_back |
|
139 { |
|
140 flags = 0; |
|
141 buttons = |
|
142 { |
|
143 CBA_BUTTON |
|
144 { |
|
145 id = EAknSoftkeyOptions; |
|
146 txt = text_softkey_option; |
|
147 }, |
|
148 CBA_BUTTON |
|
149 { |
|
150 id = EAknSoftkeyBack; |
|
151 txt = text_softkey_back; |
|
152 }, |
|
153 CBA_BUTTON |
|
154 { |
|
155 id = ELocSuplMSKNo; |
|
156 txt = ""; |
|
157 } |
|
158 }; |
|
159 } |
|
160 |
|
161 //------------------------------------------------------------------------------ |
|
162 // r_suplsettings_menubar_view |
|
163 // Menu bar for SUPL Settings Configuration view |
|
164 //------------------------------------------------------------------------------ |
|
165 // |
|
166 RESOURCE MENU_BAR r_suplsettings_menubar_view |
|
167 { |
|
168 titles = |
|
169 { |
|
170 MENU_TITLE |
|
171 { |
|
172 menu_pane = r_suplsettings_menu; txt=""; |
|
173 } |
|
174 }; |
|
175 } |
|
176 |
|
177 //------------------------------------------------------------------------------ |
|
178 // r_suplsettings_menu |
|
179 // Menu Items for SUPL Settings Configuration view |
|
180 //------------------------------------------------------------------------------ |
|
181 // |
|
182 RESOURCE MENU_PANE r_suplsettings_menu |
|
183 { |
|
184 items = |
|
185 { |
|
186 MENU_ITEM |
|
187 { |
|
188 command = ELocSuplChange; |
|
189 txt = qtn_loc_server_options_change; |
|
190 flags = EEikMenuItemAction; |
|
191 }, |
|
192 MENU_ITEM |
|
193 { |
|
194 command = ELocSuplClearSession; |
|
195 txt = qtn_loc_supl_options_terminate; |
|
196 flags = EEikMenuItemSpecific; |
|
197 }, |
|
198 MENU_ITEM |
|
199 { |
|
200 command = ELocSuplClearSessions; |
|
201 txt = qtn_loc_supl_options_terminate_multiple; |
|
202 flags = EEikMenuItemSpecific; |
|
203 }, |
|
204 MENU_ITEM |
|
205 { |
|
206 command = EAknCmdHelp; |
|
207 txt = qtn_options_help; |
|
208 }, |
|
209 MENU_ITEM |
|
210 { |
|
211 // Exit option should use 'EEikCmdExit' instead of 'EEAknCmdExit' |
|
212 // This is to ensure that the Exit command is not handled by the |
|
213 // ProcessCommandL of CAknView and is transferred to |
|
214 // CAknViewAppUi::HandleCommandL. This behaviour is necessary |
|
215 // for proper handling of the Exit command from an App Server's |
|
216 // perspective. |
|
217 command = EEikCmdExit; |
|
218 txt = qtn_options_exit; |
|
219 } |
|
220 }; |
|
221 } |
|
222 |
|
223 //------------------------------------------------------------------------------ |
|
224 // r_suplview_title |
|
225 // Title for SUPL Settings Configuration view |
|
226 //------------------------------------------------------------------------------ |
|
227 // |
|
228 RESOURCE TBUF r_suplview_title |
|
229 { |
|
230 buf = qtn_loc_supl_title; |
|
231 } |
|
232 |
|
233 //------------------------------------------------------------------------------ |
|
234 // r_loc_supl_use |
|
235 // List settings item description for SUPL settings usage. |
|
236 //------------------------------------------------------------------------------ |
|
237 // |
|
238 RESOURCE TBUF r_loc_supl_use |
|
239 { |
|
240 buf = qtn_loc_supl_server_use; |
|
241 } |
|
242 |
|
243 //------------------------------------------------------------------------------ |
|
244 // r_loc_supl_server_detail |
|
245 // List settings item caption for multiple SUPL servers |
|
246 //------------------------------------------------------------------------------ |
|
247 // |
|
248 RESOURCE TBUF r_loc_supl_server_detail |
|
249 { |
|
250 buf = qtn_loc_supl_server_detail; |
|
251 } |
|
252 |
|
253 //------------------------------------------------------------------------------ |
|
254 // r_loc_supl_no_service |
|
255 // List settings item caption for SUPL active sessions count, if count is 0 |
|
256 //------------------------------------------------------------------------------ |
|
257 // |
|
258 RESOURCE TBUF r_loc_supl_no_service |
|
259 { |
|
260 buf = qtn_loc_supl_no_service; |
|
261 } |
|
262 |
|
263 //------------------------------------------------------------------------------ |
|
264 // r_loc_supl_single_service |
|
265 // List settings item caption for SUPL active sessions count, if count is 1 |
|
266 //------------------------------------------------------------------------------ |
|
267 // |
|
268 RESOURCE TBUF r_loc_supl_single_service |
|
269 { |
|
270 buf = qtn_loc_supl_single_service; |
|
271 } |
|
272 |
|
273 //------------------------------------------------------------------------------ |
|
274 // r_loc_supl_multiple_services |
|
275 // List settings item caption for SUPL active sessions count |
|
276 //------------------------------------------------------------------------------ |
|
277 // |
|
278 RESOURCE TBUF r_loc_supl_multiple_services |
|
279 { |
|
280 buf = qtn_loc_supl_multiple_services; |
|
281 } |
|
282 |
|
283 //------------------------------------------------------------------------------ |
|
284 // r_loc_supl_usage_settings |
|
285 // Settings page for manipulating SUPL settings usage. |
|
286 //------------------------------------------------------------------------------ |
|
287 // |
|
288 RESOURCE AVKON_SETTING_PAGE r_loc_suplusage_settings |
|
289 { |
|
290 label = qtn_loc_supl_lbl_server_use; |
|
291 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
292 type = EAknSetListBox; |
|
293 editor_resource_id = r_loc_suplusage_settings_listbox; |
|
294 } |
|
295 |
|
296 //------------------------------------------------------------------------------ |
|
297 // r_loc_suplusage_settings_listbox |
|
298 // Set Settings text |
|
299 //------------------------------------------------------------------------------ |
|
300 // |
|
301 RESOURCE LISTBOX r_loc_suplusage_settings_listbox |
|
302 { |
|
303 flags = EEikListBoxMultipleSelection; |
|
304 } |
|
305 |
|
306 //------------------------------------------------------------------------------ |
|
307 // r_loc_supl_automatic |
|
308 // Settings Item for SUPL usage |
|
309 // This value denotes that SUPL would be used automatically when the user is in his |
|
310 // home network. When the user is roaming he would be prompted with a query for |
|
311 // using SUPL. |
|
312 //------------------------------------------------------------------------------ |
|
313 // |
|
314 RESOURCE TBUF r_loc_supl_automatic |
|
315 { |
|
316 buf = qtn_loc_supl_automatic; |
|
317 } |
|
318 |
|
319 //------------------------------------------------------------------------------ |
|
320 // r_loc_supl_automatic |
|
321 // Settings Item for SUPL usage |
|
322 // This value denotes that SUPL would be used automatically when the user is in his |
|
323 // home network. When the user is roaming he would be prompted with a query for |
|
324 // using SUPL. |
|
325 //------------------------------------------------------------------------------ |
|
326 // |
|
327 RESOURCE TBUF r_loc_supl_home_automatic |
|
328 { |
|
329 buf = qtn_loc_supl_home_automatic; |
|
330 } |
|
331 |
|
332 //------------------------------------------------------------------------------ |
|
333 // r_loc_supl_ask |
|
334 // Settings Item for SUPL usage |
|
335 // This value denotes that the user would always be prompted before using SUPL. |
|
336 //------------------------------------------------------------------------------ |
|
337 // |
|
338 RESOURCE TBUF r_loc_supl_ask |
|
339 { |
|
340 buf = qtn_loc_supl_ask; |
|
341 } |
|
342 |
|
343 //------------------------------------------------------------------------------ |
|
344 // r_loc_supl_disabled |
|
345 // Settings Item for SUPL usage |
|
346 // This value denotes that SUPL would not be used at all. |
|
347 //------------------------------------------------------------------------------ |
|
348 // |
|
349 RESOURCE TBUF r_loc_supl_disabled |
|
350 { |
|
351 buf = qtn_loc_supl_disabled; |
|
352 } |
|
353 |
|
354 //------------------------------------------------------------------------------ |
|
355 // r_loc_supl_server_detail_title |
|
356 // Title text for multiple SUPL servers view |
|
357 //------------------------------------------------------------------------------ |
|
358 // |
|
359 RESOURCE TBUF r_loc_supl_server_detail_title |
|
360 { |
|
361 buf = qtn_loc_server_detail_title; |
|
362 } |
|
363 |
|
364 //------------------------------------------------------------------------------ |
|
365 // r_loc_supl_services_title |
|
366 // Title text for SUPL active sessions view |
|
367 //------------------------------------------------------------------------------ |
|
368 // |
|
369 RESOURCE TBUF r_loc_supl_services_title |
|
370 { |
|
371 buf = qtn_loc_supl_services_title; |
|
372 } |
|
373 |
|
374 //------------------------------------------------------------------------------ |
|
375 // r_loc_supl_unknown_service |
|
376 // Text to display for the service with no name |
|
377 //------------------------------------------------------------------------------ |
|
378 // |
|
379 RESOURCE TBUF r_loc_supl_unknown_service |
|
380 { |
|
381 buf = qtn_loc_supl_unknown_service; |
|
382 } |
|
383 |
|
384 //------------------------------------------------------------------------------ |
|
385 // r_loc_server_address_name |
|
386 // Heading for server address Supl server editor form field |
|
387 //------------------------------------------------------------------------------ |
|
388 // |
|
389 RESOURCE TBUF r_loc_server_address_name |
|
390 { |
|
391 buf = qtn_loc_server_address_name; |
|
392 } |
|
393 |
|
394 //------------------------------------------------------------------------------ |
|
395 // r_loc_server_iap |
|
396 // Heading for access point Supl server editor form field |
|
397 //------------------------------------------------------------------------------ |
|
398 // |
|
399 RESOURCE TBUF r_loc_server_iap |
|
400 { |
|
401 buf = qtn_loc_server_iap; |
|
402 } |
|
403 |
|
404 //------------------------------------------------------------------------------ |
|
405 // r_loc_no_ap_defined |
|
406 // No IAP defined text |
|
407 //------------------------------------------------------------------------------ |
|
408 // |
|
409 RESOURCE TBUF r_loc_no_ap_defined |
|
410 { |
|
411 buf = qtn_netw_info_no_iap_defined; |
|
412 } |
|
413 |
|
414 //------------------------------------------------------------------------------ |
|
415 // r_general_note |
|
416 // Note to be displayed when no IAPs are defined |
|
417 //------------------------------------------------------------------------------ |
|
418 // |
|
419 RESOURCE DIALOG r_general_note |
|
420 { |
|
421 flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar | |
|
422 EEikDialogFlagCbaButtons | EEikDialogFlagWait; |
|
423 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
424 items = |
|
425 { |
|
426 DLG_LINE |
|
427 { |
|
428 type = EAknCtNote; |
|
429 id = EGeneralNote; |
|
430 control = AVKON_NOTE |
|
431 { |
|
432 layout = EGeneralLayout; |
|
433 singular_label = ""; |
|
434 plural_label = ""; |
|
435 animation = R_QGN_NOTE_INFO_ANIM; |
|
436 }; |
|
437 } |
|
438 }; |
|
439 } |
|
440 |
|
441 //------------------------------------------------------------------------------ |
|
442 // r_suplsettings_server_view |
|
443 // SUPL Settings Server view |
|
444 //------------------------------------------------------------------------------ |
|
445 // |
|
446 RESOURCE AVKON_VIEW r_suplsettings_server_view |
|
447 { |
|
448 menubar = r_suplsettings_server_menubar_view; |
|
449 cba = r_suplsettings_options_contextoptions_back; |
|
450 } |
|
451 |
|
452 //------------------------------------------------------------------------------ |
|
453 // r_suplsettings_session_view |
|
454 // SUPL Settings Session view |
|
455 //------------------------------------------------------------------------------ |
|
456 // |
|
457 RESOURCE AVKON_VIEW r_suplsettings_session_view |
|
458 { |
|
459 menubar = r_suplsettings_session_menubar_view; |
|
460 cba = r_suplsettings_options_contextoptions_back; |
|
461 } |
|
462 |
|
463 //---------------------------------------------------- |
|
464 // r_suplsettings_options_contextoptions_back |
|
465 // CBA for SUPL Settings Server List view. |
|
466 //---------------------------------------------------- |
|
467 // |
|
468 RESOURCE CBA r_suplsettings_options_contextoptions_back |
|
469 { |
|
470 flags = 0; |
|
471 buttons = |
|
472 { |
|
473 CBA_BUTTON |
|
474 { |
|
475 id = EAknSoftkeyOptions; |
|
476 txt = text_softkey_option; |
|
477 }, |
|
478 CBA_BUTTON |
|
479 { |
|
480 id = EAknSoftkeyBack; |
|
481 txt = text_softkey_back; |
|
482 }, |
|
483 CBA_BUTTON |
|
484 { |
|
485 id = EAknSoftkeyContextOptions; |
|
486 txt = text_softkey_option; |
|
487 } |
|
488 }; |
|
489 } |
|
490 |
|
491 //---------------------------------------------------- |
|
492 // r_suplsettings_session_options_back_open |
|
493 // CBA for SUPL Session List view. |
|
494 //---------------------------------------------------- |
|
495 // |
|
496 RESOURCE CBA r_suplsettings_session_options_back_open |
|
497 { |
|
498 flags = 0; |
|
499 buttons = |
|
500 { |
|
501 CBA_BUTTON |
|
502 { |
|
503 id = EAknSoftkeyOptions; |
|
504 txt = text_softkey_option; |
|
505 }, |
|
506 CBA_BUTTON |
|
507 { |
|
508 id = EAknSoftkeyBack; |
|
509 txt = text_softkey_back; |
|
510 }, |
|
511 CBA_BUTTON |
|
512 { |
|
513 id = EAknSoftkeyOpen; |
|
514 txt = text_softkey_open; |
|
515 } |
|
516 }; |
|
517 } |
|
518 |
|
519 //---------------------------------------------------- |
|
520 // r_suplsettings_server_options_back |
|
521 // CBA for SUPL Settings Server List view. |
|
522 //---------------------------------------------------- |
|
523 // |
|
524 RESOURCE CBA r_suplsettings_server_options_back |
|
525 { |
|
526 flags = 0; |
|
527 buttons = |
|
528 { |
|
529 CBA_BUTTON |
|
530 { |
|
531 id = EAknSoftkeyOptions; |
|
532 txt = text_softkey_option; |
|
533 }, |
|
534 CBA_BUTTON |
|
535 { |
|
536 id = EAknSoftkeyBack; |
|
537 txt = text_softkey_back; |
|
538 }, |
|
539 CBA_BUTTON |
|
540 { |
|
541 id = ELocSuplServerMSKNoCmd; |
|
542 txt = ""; |
|
543 } |
|
544 }; |
|
545 } |
|
546 |
|
547 //---------------------------------------------------- |
|
548 // r_suplsettings_session_options_back |
|
549 // CBA for SUPL Session view. |
|
550 //---------------------------------------------------- |
|
551 // |
|
552 RESOURCE CBA r_suplsettings_session_options_back |
|
553 { |
|
554 flags = 0; |
|
555 buttons = |
|
556 { |
|
557 CBA_BUTTON |
|
558 { |
|
559 id = EAknSoftkeyOptions; |
|
560 txt = text_softkey_option; |
|
561 }, |
|
562 CBA_BUTTON |
|
563 { |
|
564 id = EAknSoftkeyBack; |
|
565 txt = text_softkey_back; |
|
566 }, |
|
567 CBA_BUTTON |
|
568 { |
|
569 id = ELocSuplSessionMSKNoCmd; |
|
570 txt = ""; |
|
571 } |
|
572 }; |
|
573 } |
|
574 |
|
575 //---------------------------------------------------- |
|
576 // r_suplsettings_server_ok_cancel |
|
577 // CBA for SUPL Settings Server List view. |
|
578 //---------------------------------------------------- |
|
579 // |
|
580 RESOURCE CBA r_suplsettings_server_ok_cancel |
|
581 { |
|
582 flags = 0; |
|
583 buttons = |
|
584 { |
|
585 CBA_BUTTON |
|
586 { |
|
587 id = EAknSoftkeyOk; |
|
588 txt = text_softkey_ok; |
|
589 }, |
|
590 CBA_BUTTON |
|
591 { |
|
592 id = EAknSoftkeyCancel; |
|
593 txt = text_softkey_cancel; |
|
594 }, |
|
595 CBA_BUTTON |
|
596 { |
|
597 id = ELocSuplServerMSKNoCmd; |
|
598 txt = ""; |
|
599 } |
|
600 }; |
|
601 } |
|
602 |
|
603 //------------------------------------------------------------------------------ |
|
604 // r_suplsettings_server_menubar_view |
|
605 // Menu bar for SUPL Settings Server List view |
|
606 //------------------------------------------------------------------------------ |
|
607 // |
|
608 RESOURCE MENU_BAR r_suplsettings_server_menubar_view |
|
609 { |
|
610 titles = |
|
611 { |
|
612 MENU_TITLE |
|
613 { |
|
614 menu_pane = r_suplsettings_server_main_menu; txt=""; |
|
615 }, |
|
616 MENU_TITLE |
|
617 { |
|
618 menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST; |
|
619 }, |
|
620 MENU_TITLE |
|
621 { |
|
622 menu_pane = r_suplsettings_server_menu; txt=""; |
|
623 } |
|
624 }; |
|
625 } |
|
626 |
|
627 //------------------------------------------------------------------------------ |
|
628 // r_suplsettings_session_menubar_view |
|
629 // Menu bar for SUPL Settings Server List view |
|
630 //------------------------------------------------------------------------------ |
|
631 // |
|
632 RESOURCE MENU_BAR r_suplsettings_session_menubar_view |
|
633 { |
|
634 titles = |
|
635 { |
|
636 MENU_TITLE |
|
637 { |
|
638 menu_pane = r_suplsettings_server_main_menu; txt=""; |
|
639 }, |
|
640 MENU_TITLE |
|
641 { |
|
642 menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST; |
|
643 }, |
|
644 MENU_TITLE |
|
645 { |
|
646 menu_pane = r_suplsettings_session_menu; txt=""; |
|
647 } |
|
648 }; |
|
649 } |
|
650 |
|
651 //------------------------------------------------------------------------------ |
|
652 // r_suplsettings_server_menu1 |
|
653 // Menu Items for SUPL Settings Server List View |
|
654 //------------------------------------------------------------------------------ |
|
655 // |
|
656 RESOURCE MENU_PANE r_suplsettings_server_menu |
|
657 { |
|
658 items = |
|
659 { |
|
660 MENU_ITEM |
|
661 { |
|
662 command = ELocSuplServerEnable; |
|
663 txt = qtn_loc_detail_options_enable; |
|
664 flags = EEikMenuItemSpecific; |
|
665 }, |
|
666 MENU_ITEM |
|
667 { |
|
668 command = ELocSuplServerDisable; |
|
669 txt = qtn_loc_detail_options_disable; |
|
670 flags = EEikMenuItemSpecific; |
|
671 }, |
|
672 MENU_ITEM |
|
673 { |
|
674 command = ELocSuplServerOpen; |
|
675 txt = qtn_loc_supl_options_open; |
|
676 flags = EEikMenuItemAction; |
|
677 }, |
|
678 MENU_ITEM |
|
679 { |
|
680 command = ELocSuplServerNew; |
|
681 txt = qtn_loc_detail_options_newserver; |
|
682 }, |
|
683 MENU_ITEM |
|
684 { |
|
685 command = ELocSuplServerDelete; |
|
686 txt = qtn_loc_detail_options_delete; |
|
687 flags = EEikMenuItemSpecific; |
|
688 }, |
|
689 MENU_ITEM |
|
690 { |
|
691 command = ELocSuplServerPrioritize; |
|
692 txt = qtn_loc_detail_options_prioritize; |
|
693 flags = EEikMenuItemSpecific; |
|
694 } |
|
695 }; |
|
696 } |
|
697 |
|
698 //------------------------------------------------------------------------------ |
|
699 // r_suplsettings_session_menu1 |
|
700 // Menu Items for SUPL Session List View |
|
701 //------------------------------------------------------------------------------ |
|
702 // |
|
703 RESOURCE MENU_PANE r_suplsettings_session_menu |
|
704 { |
|
705 items = |
|
706 { |
|
707 |
|
708 MENU_ITEM |
|
709 { |
|
710 command = ELocSuplSessionTerminate; |
|
711 txt = qtn_loc_supl_options_terminate; |
|
712 flags = EEikMenuItemSpecific; |
|
713 }, |
|
714 MENU_ITEM |
|
715 { |
|
716 command = ELocSuplSessionsTerminate; |
|
717 txt = qtn_loc_supl_options_terminate_multiple; |
|
718 flags = EEikMenuItemSpecific; |
|
719 } |
|
720 }; |
|
721 } |
|
722 |
|
723 //------------------------------------------------------------------------------ |
|
724 // r_suplsettings_server_menu2 |
|
725 // Menu Items for SUPL Settings Server List View |
|
726 //------------------------------------------------------------------------------ |
|
727 // |
|
728 RESOURCE MENU_PANE r_suplsettings_server_main_menu |
|
729 { |
|
730 items = |
|
731 { |
|
732 MENU_ITEM |
|
733 { |
|
734 command = EAknCmdHelp; |
|
735 txt = qtn_options_help; |
|
736 }, |
|
737 MENU_ITEM |
|
738 { |
|
739 // Exit option should use 'EEikCmdExit' instead of 'EEAknCmdExit' |
|
740 // This is to ensure that the Exit command is not handled by the |
|
741 // ProcessCommandL of CAknView and is transferred to |
|
742 // CAknViewAppUi::HandleCommandL. This behaviour is necessary |
|
743 // for proper handling of the Exit command from an App Server's |
|
744 // perspective. |
|
745 command = EEikCmdExit; |
|
746 txt = qtn_options_exit; |
|
747 } |
|
748 }; |
|
749 } |
|
750 |
|
751 //---------------------------------------------------- |
|
752 // |
|
753 // r_suplsettings_server_contextmenubar |
|
754 // Context Menu Bar for SUPL Settings Server List View |
|
755 // |
|
756 //---------------------------------------------------- |
|
757 // |
|
758 RESOURCE MENU_BAR r_suplsettings_server_contextmenubar |
|
759 { |
|
760 titles = |
|
761 { |
|
762 MENU_TITLE { menu_pane=R_AVKON_MENUPANE_MARKABLE_LIST; txt=""; }, |
|
763 MENU_TITLE { menu_pane = r_suplsettings_server_contextmenu; txt=" "; } |
|
764 }; |
|
765 } |
|
766 |
|
767 //---------------------------------------------------- |
|
768 // |
|
769 // r_suplsettings_server_contextmenu |
|
770 // Context Menu Items for SUPL Settings Server List View |
|
771 // |
|
772 //---------------------------------------------------- |
|
773 // |
|
774 RESOURCE MENU_PANE r_suplsettings_server_contextmenu |
|
775 { |
|
776 items = |
|
777 { |
|
778 MENU_ITEM |
|
779 { |
|
780 command = ELocSuplServerMSKEnable; |
|
781 txt = qtn_loc_detail_options_enable; |
|
782 }, |
|
783 MENU_ITEM |
|
784 { |
|
785 command = ELocSuplServerMSKDisable; |
|
786 txt = qtn_loc_detail_options_disable; |
|
787 }, |
|
788 |
|
789 MENU_ITEM |
|
790 { |
|
791 command = ELocSuplServerDelete; |
|
792 txt = qtn_loc_detail_options_delete; |
|
793 }, |
|
794 |
|
795 MENU_ITEM |
|
796 { |
|
797 command = ELocSuplServerNew; |
|
798 txt = qtn_loc_detail_options_newserver; |
|
799 } |
|
800 }; |
|
801 } |
|
802 |
|
803 //---------------------------------------------------- |
|
804 // |
|
805 // r_suplsettings_session_contextmenubar |
|
806 // Context Menu Bar for SUPL Settings Session List View |
|
807 // |
|
808 //---------------------------------------------------- |
|
809 // |
|
810 RESOURCE MENU_BAR r_suplsettings_session_contextmenubar |
|
811 { |
|
812 titles = |
|
813 { |
|
814 MENU_TITLE { menu_pane = r_suplsettings_session_contextmenu; txt=" "; }, |
|
815 MENU_TITLE { menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST; txt=" "; } |
|
816 }; |
|
817 } |
|
818 |
|
819 //---------------------------------------------------- |
|
820 // |
|
821 // r_suplsettings_session_contextmenu |
|
822 // Context Menu Items for SUPL Settings Session List View |
|
823 // |
|
824 //---------------------------------------------------- |
|
825 // |
|
826 RESOURCE MENU_PANE r_suplsettings_session_contextmenu |
|
827 { |
|
828 items = |
|
829 { |
|
830 MENU_ITEM |
|
831 { |
|
832 command = ELocSuplSessionMSKTerminate; |
|
833 txt = qtn_loc_supl_options_terminate; |
|
834 flags = EEikMenuItemSpecific; |
|
835 }, |
|
836 MENU_ITEM |
|
837 { |
|
838 command = ELocSuplSessionsMSKTerminate; |
|
839 txt = qtn_loc_supl_options_terminate_multiple; |
|
840 flags = EEikMenuItemSpecific; |
|
841 } |
|
842 }; |
|
843 } |
|
844 |
|
845 //------------------------------------------------------------------------------ |
|
846 // r_loc_detail_conf_delete_servers |
|
847 // Confirmation for delete text |
|
848 //------------------------------------------------------------------------------ |
|
849 // |
|
850 RESOURCE TBUF r_loc_detail_conf_delete_server |
|
851 { |
|
852 buf = qtn_loc_detail_conf_delete_server; |
|
853 } |
|
854 |
|
855 //------------------------------------------------------------------------------ |
|
856 // r_loc_detail_conf_delete_servers |
|
857 // Confirmation for delete text |
|
858 //------------------------------------------------------------------------------ |
|
859 // |
|
860 RESOURCE TBUF r_loc_detail_conf_delete_servers |
|
861 { |
|
862 buf = qtn_loc_detail_conf_delete_servers; |
|
863 } |
|
864 |
|
865 |
|
866 //---------------------------------------------------- |
|
867 // r_loc_supl_delete_query |
|
868 // Confirmation Query for delete |
|
869 //---------------------------------------------------- |
|
870 // |
|
871 RESOURCE DIALOG r_loc_supl_delete_query |
|
872 { |
|
873 flags = EGeneralQueryFlags; |
|
874 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
875 items = |
|
876 { |
|
877 DLG_LINE |
|
878 { |
|
879 type = EAknCtQuery; |
|
880 id = EGeneralQuery; |
|
881 control = AVKON_CONFIRMATION_QUERY |
|
882 { |
|
883 layout = EConfirmationQueryLayout; |
|
884 }; |
|
885 } |
|
886 }; |
|
887 } |
|
888 |
|
889 //------------------------------------------------------------------------------ |
|
890 // r_loc_supl_query_terminate_all |
|
891 // Confirmation for deleting all the sessions(Clear sessions) |
|
892 //------------------------------------------------------------------------------ |
|
893 // |
|
894 RESOURCE TBUF r_loc_supl_query_terminate_all |
|
895 { |
|
896 buf = qtn_loc_supl_query_terminate_all; |
|
897 } |
|
898 |
|
899 //------------------------------------------------------------------------------ |
|
900 // r_loc_supl_query_terminate |
|
901 // Confirmation for deletint a session |
|
902 //------------------------------------------------------------------------------ |
|
903 // |
|
904 RESOURCE TBUF r_loc_supl_query_terminate |
|
905 { |
|
906 buf = qtn_loc_supl_query_terminate; |
|
907 } |
|
908 |
|
909 //------------------------------------------------------------------------------ |
|
910 // r_loc_supl_query_terminate_multiple |
|
911 // Confirmation for deleting multiple sessions in view |
|
912 //------------------------------------------------------------------------------ |
|
913 // |
|
914 RESOURCE TBUF r_loc_supl_query_terminate_multiple |
|
915 { |
|
916 buf = qtn_loc_supl_query_terminate_multiple; |
|
917 } |
|
918 |
|
919 // --------------------------------------------------------- |
|
920 // Additional resource files |
|
921 // --------------------------------------------------------- |
|
922 // |
|
923 #include "locsuplservereditor.rss" |
|
924 #include "locsuplsessioneditor.rss" |