author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 15 Sep 2010 12:40:28 +0300 | |
branch | RCL_3 |
changeset 49 | 10852b179f64 |
parent 45 | 6b6920c56e2f |
child 55 | ea98413ce11f |
permissions | -rw-r--r-- |
45 | 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 |
//---------------------------------------------------- |
|
48 |
// r_suplsettings_caption |
|
49 |
// Caption for SUPL Settings UI |
|
50 |
//---------------------------------------------------- |
|
51 |
// |
|
52 |
RESOURCE TBUF r_suplsettings_caption |
|
53 |
{ |
|
54 |
buf = qtn_loc_settings_supl; |
|
55 |
} |
|
56 |
||
57 |
//------------------------------------------------------------------------------ |
|
58 |
// r_suplsettings_view |
|
59 |
// SUPL Settings Configuration view |
|
60 |
//------------------------------------------------------------------------------ |
|
61 |
// |
|
62 |
RESOURCE AVKON_VIEW r_suplsettings_view |
|
63 |
{ |
|
64 |
menubar = r_suplsettings_menubar_view; |
|
65 |
cba = r_suplsettings_options_change_back; |
|
66 |
} |
|
67 |
||
68 |
//---------------------------------------------------- |
|
69 |
// r_suplsettings_options_change_back |
|
70 |
// CBA for SUPL Settings UI view. |
|
71 |
//---------------------------------------------------- |
|
72 |
// |
|
73 |
RESOURCE CBA r_suplsettings_options_change_back |
|
74 |
{ |
|
75 |
flags = 0; |
|
76 |
buttons = |
|
77 |
{ |
|
78 |
CBA_BUTTON |
|
79 |
{ |
|
80 |
id = EAknSoftkeyOptions; |
|
81 |
txt = text_softkey_option; |
|
82 |
}, |
|
83 |
CBA_BUTTON |
|
84 |
{ |
|
85 |
id = EAknSoftkeyBack; |
|
86 |
txt = text_softkey_back; |
|
87 |
}, |
|
88 |
CBA_BUTTON |
|
89 |
{ |
|
90 |
id = ELocSuplMSKChange; |
|
91 |
txt = qtn_msk_change; |
|
92 |
} |
|
93 |
}; |
|
94 |
} |
|
95 |
||
96 |
//---------------------------------------------------- |
|
97 |
// r_suplsettings_options_open_back |
|
98 |
// CBA for SUPL Settings UI view. |
|
99 |
//---------------------------------------------------- |
|
100 |
// |
|
101 |
RESOURCE CBA r_suplsettings_options_open_back |
|
102 |
{ |
|
103 |
flags = 0; |
|
104 |
buttons = |
|
105 |
{ |
|
106 |
CBA_BUTTON |
|
107 |
{ |
|
108 |
id = EAknSoftkeyOptions; |
|
109 |
txt = text_softkey_option; |
|
110 |
}, |
|
111 |
CBA_BUTTON |
|
112 |
{ |
|
113 |
id = EAknSoftkeyBack; |
|
114 |
txt = text_softkey_back; |
|
115 |
}, |
|
116 |
CBA_BUTTON |
|
117 |
{ |
|
118 |
id = ELocSuplMSKOpen; |
|
119 |
txt = qtn_msk_open; |
|
120 |
} |
|
121 |
}; |
|
122 |
} |
|
123 |
||
124 |
//---------------------------------------------------- |
|
125 |
// r_suplsettings_options_nomsk_back |
|
126 |
// CBA for SUPL Settings UI view. |
|
127 |
//---------------------------------------------------- |
|
128 |
// |
|
129 |
RESOURCE CBA r_suplsettings_options_nomsk_back |
|
130 |
{ |
|
131 |
flags = 0; |
|
132 |
buttons = |
|
133 |
{ |
|
134 |
CBA_BUTTON |
|
135 |
{ |
|
136 |
id = EAknSoftkeyOptions; |
|
137 |
txt = text_softkey_option; |
|
138 |
}, |
|
139 |
CBA_BUTTON |
|
140 |
{ |
|
141 |
id = EAknSoftkeyBack; |
|
142 |
txt = text_softkey_back; |
|
143 |
}, |
|
144 |
CBA_BUTTON |
|
145 |
{ |
|
146 |
id = ELocSuplMSKNo; |
|
147 |
txt = ""; |
|
148 |
} |
|
149 |
}; |
|
150 |
} |
|
151 |
||
152 |
//------------------------------------------------------------------------------ |
|
153 |
// r_suplsettings_menubar_view |
|
154 |
// Menu bar for SUPL Settings Configuration view |
|
155 |
//------------------------------------------------------------------------------ |
|
156 |
// |
|
157 |
RESOURCE MENU_BAR r_suplsettings_menubar_view |
|
158 |
{ |
|
159 |
titles = |
|
160 |
{ |
|
161 |
MENU_TITLE |
|
162 |
{ |
|
163 |
menu_pane = r_suplsettings_menu; txt=""; |
|
164 |
} |
|
165 |
}; |
|
166 |
} |
|
167 |
||
168 |
//------------------------------------------------------------------------------ |
|
169 |
// r_suplsettings_menu |
|
170 |
// Menu Items for SUPL Settings Configuration view |
|
171 |
//------------------------------------------------------------------------------ |
|
172 |
// |
|
173 |
RESOURCE MENU_PANE r_suplsettings_menu |
|
174 |
{ |
|
175 |
items = |
|
176 |
{ |
|
49
10852b179f64
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
177 |
MENU_ITEM |
10852b179f64
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
178 |
{ |
10852b179f64
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
179 |
command = ELocSuplOpen; |
10852b179f64
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
180 |
txt = qtn_loc_supl_options_open; |
10852b179f64
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
181 |
flags = EEikMenuItemAction; |
10852b179f64
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
182 |
}, |
45 | 183 |
MENU_ITEM |
184 |
{ |
|
185 |
command = ELocSuplClearSession; |
|
186 |
txt = qtn_loc_supl_options_terminate; |
|
187 |
flags = EEikMenuItemSpecific; |
|
188 |
}, |
|
189 |
MENU_ITEM |
|
190 |
{ |
|
191 |
command = ELocSuplClearSessions; |
|
192 |
txt = qtn_loc_supl_options_terminate_multiple; |
|
193 |
flags = EEikMenuItemSpecific; |
|
194 |
}, |
|
195 |
MENU_ITEM |
|
196 |
{ |
|
197 |
command = EAknCmdHelp; |
|
198 |
txt = qtn_options_help; |
|
199 |
}, |
|
200 |
MENU_ITEM |
|
201 |
{ |
|
202 |
// Exit option should use 'EEikCmdExit' instead of 'EEAknCmdExit' |
|
203 |
// This is to ensure that the Exit command is not handled by the |
|
204 |
// ProcessCommandL of CAknView and is transferred to |
|
205 |
// CAknViewAppUi::HandleCommandL. This behaviour is necessary |
|
206 |
// for proper handling of the Exit command from an App Server's |
|
207 |
// perspective. |
|
208 |
command = EEikCmdExit; |
|
209 |
txt = qtn_options_exit; |
|
210 |
} |
|
211 |
}; |
|
212 |
} |
|
213 |
||
214 |
//------------------------------------------------------------------------------ |
|
215 |
// r_suplview_title |
|
216 |
// Title for SUPL Settings Configuration view |
|
217 |
//------------------------------------------------------------------------------ |
|
218 |
// |
|
219 |
RESOURCE TBUF r_suplview_title |
|
220 |
{ |
|
221 |
buf = qtn_loc_supl_title; |
|
222 |
} |
|
223 |
||
49
10852b179f64
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
224 |
|
45 | 225 |
//------------------------------------------------------------------------------ |
226 |
// r_loc_supl_server_detail |
|
227 |
// List settings item caption for multiple SUPL servers |
|
228 |
//------------------------------------------------------------------------------ |
|
229 |
// |
|
230 |
RESOURCE TBUF r_loc_supl_server_detail |
|
231 |
{ |
|
232 |
buf = qtn_loc_supl_server_detail; |
|
233 |
} |
|
234 |
||
235 |
//------------------------------------------------------------------------------ |
|
236 |
// r_loc_supl_no_service |
|
237 |
// List settings item caption for SUPL active sessions count, if count is 0 |
|
238 |
//------------------------------------------------------------------------------ |
|
239 |
// |
|
240 |
RESOURCE TBUF r_loc_supl_no_service |
|
241 |
{ |
|
242 |
buf = qtn_loc_supl_no_service; |
|
243 |
} |
|
244 |
||
245 |
//------------------------------------------------------------------------------ |
|
246 |
// r_loc_supl_single_service |
|
247 |
// List settings item caption for SUPL active sessions count, if count is 1 |
|
248 |
//------------------------------------------------------------------------------ |
|
249 |
// |
|
250 |
RESOURCE TBUF r_loc_supl_single_service |
|
251 |
{ |
|
252 |
buf = qtn_loc_supl_single_service; |
|
253 |
} |
|
254 |
||
255 |
//------------------------------------------------------------------------------ |
|
256 |
// r_loc_supl_multiple_services |
|
257 |
// List settings item caption for SUPL active sessions count |
|
258 |
//------------------------------------------------------------------------------ |
|
259 |
// |
|
260 |
RESOURCE TBUF r_loc_supl_multiple_services |
|
261 |
{ |
|
262 |
buf = qtn_loc_supl_multiple_services; |
|
263 |
} |
|
264 |
||
265 |
||
266 |
//------------------------------------------------------------------------------ |
|
267 |
// r_loc_supl_server_detail_title |
|
268 |
// Title text for multiple SUPL servers view |
|
269 |
//------------------------------------------------------------------------------ |
|
270 |
// |
|
271 |
RESOURCE TBUF r_loc_supl_server_detail_title |
|
272 |
{ |
|
273 |
buf = qtn_loc_server_detail_title; |
|
274 |
} |
|
275 |
||
276 |
//------------------------------------------------------------------------------ |
|
277 |
// r_loc_supl_services_title |
|
278 |
// Title text for SUPL active sessions view |
|
279 |
//------------------------------------------------------------------------------ |
|
280 |
// |
|
281 |
RESOURCE TBUF r_loc_supl_services_title |
|
282 |
{ |
|
283 |
buf = qtn_loc_supl_services_title; |
|
284 |
} |
|
285 |
||
286 |
//------------------------------------------------------------------------------ |
|
287 |
// r_loc_supl_unknown_service |
|
288 |
// Text to display for the service with no name |
|
289 |
//------------------------------------------------------------------------------ |
|
290 |
// |
|
291 |
RESOURCE TBUF r_loc_supl_unknown_service |
|
292 |
{ |
|
293 |
buf = qtn_loc_supl_unknown_service; |
|
294 |
} |
|
295 |
||
296 |
//------------------------------------------------------------------------------ |
|
297 |
// r_loc_server_address_name |
|
298 |
// Heading for server address Supl server editor form field |
|
299 |
//------------------------------------------------------------------------------ |
|
300 |
// |
|
301 |
RESOURCE TBUF r_loc_server_address_name |
|
302 |
{ |
|
303 |
buf = qtn_loc_server_address_name; |
|
304 |
} |
|
305 |
||
306 |
//------------------------------------------------------------------------------ |
|
307 |
// r_loc_server_iap |
|
308 |
// Heading for access point Supl server editor form field |
|
309 |
//------------------------------------------------------------------------------ |
|
310 |
// |
|
311 |
RESOURCE TBUF r_loc_server_iap |
|
312 |
{ |
|
313 |
buf = qtn_loc_server_iap; |
|
314 |
} |
|
315 |
||
49
10852b179f64
Revision: 201035
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
45
diff
changeset
|
316 |
|
45 | 317 |
//------------------------------------------------------------------------------ |
318 |
// r_suplsettings_server_view |
|
319 |
// SUPL Settings Server view |
|
320 |
//------------------------------------------------------------------------------ |
|
321 |
// |
|
322 |
RESOURCE AVKON_VIEW r_suplsettings_server_view |
|
323 |
{ |
|
324 |
menubar = r_suplsettings_server_menubar_view; |
|
325 |
cba = r_suplsettings_options_contextoptions_back; |
|
326 |
} |
|
327 |
||
328 |
//------------------------------------------------------------------------------ |
|
329 |
// r_suplsettings_session_view |
|
330 |
// SUPL Settings Session view |
|
331 |
//------------------------------------------------------------------------------ |
|
332 |
// |
|
333 |
RESOURCE AVKON_VIEW r_suplsettings_session_view |
|
334 |
{ |
|
335 |
menubar = r_suplsettings_session_menubar_view; |
|
336 |
cba = r_suplsettings_options_contextoptions_back; |
|
337 |
} |
|
338 |
||
339 |
//---------------------------------------------------- |
|
340 |
// r_suplsettings_options_contextoptions_back |
|
341 |
// CBA for SUPL Settings Server List view. |
|
342 |
//---------------------------------------------------- |
|
343 |
// |
|
344 |
RESOURCE CBA r_suplsettings_options_contextoptions_back |
|
345 |
{ |
|
346 |
flags = 0; |
|
347 |
buttons = |
|
348 |
{ |
|
349 |
CBA_BUTTON |
|
350 |
{ |
|
351 |
id = EAknSoftkeyOptions; |
|
352 |
txt = text_softkey_option; |
|
353 |
}, |
|
354 |
CBA_BUTTON |
|
355 |
{ |
|
356 |
id = EAknSoftkeyBack; |
|
357 |
txt = text_softkey_back; |
|
358 |
}, |
|
359 |
CBA_BUTTON |
|
360 |
{ |
|
361 |
id = EAknSoftkeyContextOptions; |
|
362 |
txt = text_softkey_option; |
|
363 |
} |
|
364 |
}; |
|
365 |
} |
|
366 |
||
367 |
//---------------------------------------------------- |
|
368 |
// r_suplsettings_session_options_back_open |
|
369 |
// CBA for SUPL Session List view. |
|
370 |
//---------------------------------------------------- |
|
371 |
// |
|
372 |
RESOURCE CBA r_suplsettings_session_options_back_open |
|
373 |
{ |
|
374 |
flags = 0; |
|
375 |
buttons = |
|
376 |
{ |
|
377 |
CBA_BUTTON |
|
378 |
{ |
|
379 |
id = EAknSoftkeyOptions; |
|
380 |
txt = text_softkey_option; |
|
381 |
}, |
|
382 |
CBA_BUTTON |
|
383 |
{ |
|
384 |
id = EAknSoftkeyBack; |
|
385 |
txt = text_softkey_back; |
|
386 |
}, |
|
387 |
CBA_BUTTON |
|
388 |
{ |
|
389 |
id = EAknSoftkeyOpen; |
|
390 |
txt = text_softkey_open; |
|
391 |
} |
|
392 |
}; |
|
393 |
} |
|
394 |
||
395 |
//---------------------------------------------------- |
|
396 |
// r_suplsettings_server_options_back |
|
397 |
// CBA for SUPL Settings Server List view. |
|
398 |
//---------------------------------------------------- |
|
399 |
// |
|
400 |
RESOURCE CBA r_suplsettings_server_options_back |
|
401 |
{ |
|
402 |
flags = 0; |
|
403 |
buttons = |
|
404 |
{ |
|
405 |
CBA_BUTTON |
|
406 |
{ |
|
407 |
id = EAknSoftkeyOptions; |
|
408 |
txt = text_softkey_option; |
|
409 |
}, |
|
410 |
CBA_BUTTON |
|
411 |
{ |
|
412 |
id = EAknSoftkeyBack; |
|
413 |
txt = text_softkey_back; |
|
414 |
}, |
|
415 |
CBA_BUTTON |
|
416 |
{ |
|
417 |
id = ELocSuplServerMSKNoCmd; |
|
418 |
txt = ""; |
|
419 |
} |
|
420 |
}; |
|
421 |
} |
|
422 |
||
423 |
//---------------------------------------------------- |
|
424 |
// r_suplsettings_session_options_back |
|
425 |
// CBA for SUPL Session view. |
|
426 |
//---------------------------------------------------- |
|
427 |
// |
|
428 |
RESOURCE CBA r_suplsettings_session_options_back |
|
429 |
{ |
|
430 |
flags = 0; |
|
431 |
buttons = |
|
432 |
{ |
|
433 |
CBA_BUTTON |
|
434 |
{ |
|
435 |
id = EAknSoftkeyOptions; |
|
436 |
txt = text_softkey_option; |
|
437 |
}, |
|
438 |
CBA_BUTTON |
|
439 |
{ |
|
440 |
id = EAknSoftkeyBack; |
|
441 |
txt = text_softkey_back; |
|
442 |
}, |
|
443 |
CBA_BUTTON |
|
444 |
{ |
|
445 |
id = ELocSuplSessionMSKNoCmd; |
|
446 |
txt = ""; |
|
447 |
} |
|
448 |
}; |
|
449 |
} |
|
450 |
||
451 |
//---------------------------------------------------- |
|
452 |
// r_suplsettings_server_ok_cancel |
|
453 |
// CBA for SUPL Settings Server List view. |
|
454 |
//---------------------------------------------------- |
|
455 |
// |
|
456 |
RESOURCE CBA r_suplsettings_server_ok_cancel |
|
457 |
{ |
|
458 |
flags = 0; |
|
459 |
buttons = |
|
460 |
{ |
|
461 |
CBA_BUTTON |
|
462 |
{ |
|
463 |
id = EAknSoftkeyOk; |
|
464 |
txt = text_softkey_ok; |
|
465 |
}, |
|
466 |
CBA_BUTTON |
|
467 |
{ |
|
468 |
id = EAknSoftkeyCancel; |
|
469 |
txt = text_softkey_cancel; |
|
470 |
}, |
|
471 |
CBA_BUTTON |
|
472 |
{ |
|
473 |
id = ELocSuplServerMSKNoCmd; |
|
474 |
txt = ""; |
|
475 |
} |
|
476 |
}; |
|
477 |
} |
|
478 |
||
479 |
//------------------------------------------------------------------------------ |
|
480 |
// r_suplsettings_server_menubar_view |
|
481 |
// Menu bar for SUPL Settings Server List view |
|
482 |
//------------------------------------------------------------------------------ |
|
483 |
// |
|
484 |
RESOURCE MENU_BAR r_suplsettings_server_menubar_view |
|
485 |
{ |
|
486 |
titles = |
|
487 |
{ |
|
488 |
MENU_TITLE |
|
489 |
{ |
|
490 |
menu_pane = r_suplsettings_server_main_menu; txt=""; |
|
491 |
}, |
|
492 |
MENU_TITLE |
|
493 |
{ |
|
494 |
menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST; |
|
495 |
}, |
|
496 |
MENU_TITLE |
|
497 |
{ |
|
498 |
menu_pane = r_suplsettings_server_menu; txt=""; |
|
499 |
} |
|
500 |
}; |
|
501 |
} |
|
502 |
||
503 |
//------------------------------------------------------------------------------ |
|
504 |
// r_suplsettings_session_menubar_view |
|
505 |
// Menu bar for SUPL Settings Server List view |
|
506 |
//------------------------------------------------------------------------------ |
|
507 |
// |
|
508 |
RESOURCE MENU_BAR r_suplsettings_session_menubar_view |
|
509 |
{ |
|
510 |
titles = |
|
511 |
{ |
|
512 |
MENU_TITLE |
|
513 |
{ |
|
514 |
menu_pane = r_suplsettings_server_main_menu; txt=""; |
|
515 |
}, |
|
516 |
MENU_TITLE |
|
517 |
{ |
|
518 |
menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST; |
|
519 |
}, |
|
520 |
MENU_TITLE |
|
521 |
{ |
|
522 |
menu_pane = r_suplsettings_session_menu; txt=""; |
|
523 |
} |
|
524 |
}; |
|
525 |
} |
|
526 |
||
527 |
//------------------------------------------------------------------------------ |
|
528 |
// r_suplsettings_server_menu1 |
|
529 |
// Menu Items for SUPL Settings Server List View |
|
530 |
//------------------------------------------------------------------------------ |
|
531 |
// |
|
532 |
RESOURCE MENU_PANE r_suplsettings_server_menu |
|
533 |
{ |
|
534 |
items = |
|
535 |
{ |
|
536 |
MENU_ITEM |
|
537 |
{ |
|
538 |
command = ELocSuplServerEnable; |
|
539 |
txt = qtn_loc_detail_options_enable; |
|
540 |
flags = EEikMenuItemSpecific; |
|
541 |
}, |
|
542 |
MENU_ITEM |
|
543 |
{ |
|
544 |
command = ELocSuplServerDisable; |
|
545 |
txt = qtn_loc_detail_options_disable; |
|
546 |
flags = EEikMenuItemSpecific; |
|
547 |
}, |
|
548 |
MENU_ITEM |
|
549 |
{ |
|
550 |
command = ELocSuplServerOpen; |
|
551 |
txt = qtn_loc_supl_options_open; |
|
552 |
flags = EEikMenuItemAction; |
|
553 |
}, |
|
554 |
MENU_ITEM |
|
555 |
{ |
|
556 |
command = ELocSuplServerNew; |
|
557 |
txt = qtn_loc_detail_options_newserver; |
|
558 |
}, |
|
559 |
MENU_ITEM |
|
560 |
{ |
|
561 |
command = ELocSuplServerDelete; |
|
562 |
txt = qtn_loc_detail_options_delete; |
|
563 |
flags = EEikMenuItemSpecific; |
|
564 |
}, |
|
565 |
MENU_ITEM |
|
566 |
{ |
|
567 |
command = ELocSuplServerPrioritize; |
|
568 |
txt = qtn_loc_detail_options_prioritize; |
|
569 |
flags = EEikMenuItemSpecific; |
|
570 |
} |
|
571 |
}; |
|
572 |
} |
|
573 |
||
574 |
//------------------------------------------------------------------------------ |
|
575 |
// r_suplsettings_session_menu1 |
|
576 |
// Menu Items for SUPL Session List View |
|
577 |
//------------------------------------------------------------------------------ |
|
578 |
// |
|
579 |
RESOURCE MENU_PANE r_suplsettings_session_menu |
|
580 |
{ |
|
581 |
items = |
|
582 |
{ |
|
583 |
||
584 |
MENU_ITEM |
|
585 |
{ |
|
586 |
command = ELocSuplSessionTerminate; |
|
587 |
txt = qtn_loc_supl_options_terminate; |
|
588 |
flags = EEikMenuItemSpecific; |
|
589 |
}, |
|
590 |
MENU_ITEM |
|
591 |
{ |
|
592 |
command = ELocSuplSessionsTerminate; |
|
593 |
txt = qtn_loc_supl_options_terminate_multiple; |
|
594 |
flags = EEikMenuItemSpecific; |
|
595 |
} |
|
596 |
}; |
|
597 |
} |
|
598 |
||
599 |
//------------------------------------------------------------------------------ |
|
600 |
// r_suplsettings_server_menu2 |
|
601 |
// Menu Items for SUPL Settings Server List View |
|
602 |
//------------------------------------------------------------------------------ |
|
603 |
// |
|
604 |
RESOURCE MENU_PANE r_suplsettings_server_main_menu |
|
605 |
{ |
|
606 |
items = |
|
607 |
{ |
|
608 |
MENU_ITEM |
|
609 |
{ |
|
610 |
command = EAknCmdHelp; |
|
611 |
txt = qtn_options_help; |
|
612 |
}, |
|
613 |
MENU_ITEM |
|
614 |
{ |
|
615 |
// Exit option should use 'EEikCmdExit' instead of 'EEAknCmdExit' |
|
616 |
// This is to ensure that the Exit command is not handled by the |
|
617 |
// ProcessCommandL of CAknView and is transferred to |
|
618 |
// CAknViewAppUi::HandleCommandL. This behaviour is necessary |
|
619 |
// for proper handling of the Exit command from an App Server's |
|
620 |
// perspective. |
|
621 |
command = EEikCmdExit; |
|
622 |
txt = qtn_options_exit; |
|
623 |
} |
|
624 |
}; |
|
625 |
} |
|
626 |
||
627 |
//---------------------------------------------------- |
|
628 |
// |
|
629 |
// r_suplsettings_server_contextmenubar |
|
630 |
// Context Menu Bar for SUPL Settings Server List View |
|
631 |
// |
|
632 |
//---------------------------------------------------- |
|
633 |
// |
|
634 |
RESOURCE MENU_BAR r_suplsettings_server_contextmenubar |
|
635 |
{ |
|
636 |
titles = |
|
637 |
{ |
|
638 |
MENU_TITLE { menu_pane=R_AVKON_MENUPANE_MARKABLE_LIST; txt=""; }, |
|
639 |
MENU_TITLE { menu_pane = r_suplsettings_server_contextmenu; txt=" "; } |
|
640 |
}; |
|
641 |
} |
|
642 |
||
643 |
//---------------------------------------------------- |
|
644 |
// |
|
645 |
// r_suplsettings_server_contextmenu |
|
646 |
// Context Menu Items for SUPL Settings Server List View |
|
647 |
// |
|
648 |
//---------------------------------------------------- |
|
649 |
// |
|
650 |
RESOURCE MENU_PANE r_suplsettings_server_contextmenu |
|
651 |
{ |
|
652 |
items = |
|
653 |
{ |
|
654 |
MENU_ITEM |
|
655 |
{ |
|
656 |
command = ELocSuplServerMSKEnable; |
|
657 |
txt = qtn_loc_detail_options_enable; |
|
658 |
}, |
|
659 |
MENU_ITEM |
|
660 |
{ |
|
661 |
command = ELocSuplServerMSKDisable; |
|
662 |
txt = qtn_loc_detail_options_disable; |
|
663 |
}, |
|
664 |
||
665 |
MENU_ITEM |
|
666 |
{ |
|
667 |
command = ELocSuplServerDelete; |
|
668 |
txt = qtn_loc_detail_options_delete; |
|
669 |
}, |
|
670 |
||
671 |
MENU_ITEM |
|
672 |
{ |
|
673 |
command = ELocSuplServerNew; |
|
674 |
txt = qtn_loc_detail_options_newserver; |
|
675 |
} |
|
676 |
}; |
|
677 |
} |
|
678 |
||
679 |
//---------------------------------------------------- |
|
680 |
// |
|
681 |
// r_suplsettings_session_contextmenubar |
|
682 |
// Context Menu Bar for SUPL Settings Session List View |
|
683 |
// |
|
684 |
//---------------------------------------------------- |
|
685 |
// |
|
686 |
RESOURCE MENU_BAR r_suplsettings_session_contextmenubar |
|
687 |
{ |
|
688 |
titles = |
|
689 |
{ |
|
690 |
MENU_TITLE { menu_pane = r_suplsettings_session_contextmenu; txt=" "; }, |
|
691 |
MENU_TITLE { menu_pane = R_AVKON_MENUPANE_MARKABLE_LIST; txt=" "; } |
|
692 |
}; |
|
693 |
} |
|
694 |
||
695 |
//---------------------------------------------------- |
|
696 |
// |
|
697 |
// r_suplsettings_session_contextmenu |
|
698 |
// Context Menu Items for SUPL Settings Session List View |
|
699 |
// |
|
700 |
//---------------------------------------------------- |
|
701 |
// |
|
702 |
RESOURCE MENU_PANE r_suplsettings_session_contextmenu |
|
703 |
{ |
|
704 |
items = |
|
705 |
{ |
|
706 |
MENU_ITEM |
|
707 |
{ |
|
708 |
command = ELocSuplSessionMSKTerminate; |
|
709 |
txt = qtn_loc_supl_options_terminate; |
|
710 |
flags = EEikMenuItemSpecific; |
|
711 |
}, |
|
712 |
MENU_ITEM |
|
713 |
{ |
|
714 |
command = ELocSuplSessionsMSKTerminate; |
|
715 |
txt = qtn_loc_supl_options_terminate_multiple; |
|
716 |
flags = EEikMenuItemSpecific; |
|
717 |
} |
|
718 |
}; |
|
719 |
} |
|
720 |
||
721 |
//------------------------------------------------------------------------------ |
|
722 |
// r_loc_detail_conf_delete_servers |
|
723 |
// Confirmation for delete text |
|
724 |
//------------------------------------------------------------------------------ |
|
725 |
// |
|
726 |
RESOURCE TBUF r_loc_detail_conf_delete_server |
|
727 |
{ |
|
728 |
buf = qtn_loc_detail_conf_delete_server; |
|
729 |
} |
|
730 |
||
731 |
//------------------------------------------------------------------------------ |
|
732 |
// r_loc_detail_conf_delete_servers |
|
733 |
// Confirmation for delete text |
|
734 |
//------------------------------------------------------------------------------ |
|
735 |
// |
|
736 |
RESOURCE TBUF r_loc_detail_conf_delete_servers |
|
737 |
{ |
|
738 |
buf = qtn_loc_detail_conf_delete_servers; |
|
739 |
} |
|
740 |
||
741 |
||
742 |
//---------------------------------------------------- |
|
743 |
// r_loc_supl_delete_query |
|
744 |
// Confirmation Query for delete |
|
745 |
//---------------------------------------------------- |
|
746 |
// |
|
747 |
RESOURCE DIALOG r_loc_supl_delete_query |
|
748 |
{ |
|
749 |
flags = EGeneralQueryFlags; |
|
750 |
buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
751 |
items = |
|
752 |
{ |
|
753 |
DLG_LINE |
|
754 |
{ |
|
755 |
type = EAknCtQuery; |
|
756 |
id = EGeneralQuery; |
|
757 |
control = AVKON_CONFIRMATION_QUERY |
|
758 |
{ |
|
759 |
layout = EConfirmationQueryLayout; |
|
760 |
}; |
|
761 |
} |
|
762 |
}; |
|
763 |
} |
|
764 |
||
765 |
//------------------------------------------------------------------------------ |
|
766 |
// r_loc_supl_query_terminate_all |
|
767 |
// Confirmation for deleting all the sessions(Clear sessions) |
|
768 |
//------------------------------------------------------------------------------ |
|
769 |
// |
|
770 |
RESOURCE TBUF r_loc_supl_query_terminate_all |
|
771 |
{ |
|
772 |
buf = qtn_loc_supl_query_terminate_all; |
|
773 |
} |
|
774 |
||
775 |
//------------------------------------------------------------------------------ |
|
776 |
// r_loc_supl_query_terminate |
|
777 |
// Confirmation for deletint a session |
|
778 |
//------------------------------------------------------------------------------ |
|
779 |
// |
|
780 |
RESOURCE TBUF r_loc_supl_query_terminate |
|
781 |
{ |
|
782 |
buf = qtn_loc_supl_query_terminate; |
|
783 |
} |
|
784 |
||
785 |
//------------------------------------------------------------------------------ |
|
786 |
// r_loc_supl_query_terminate_multiple |
|
787 |
// Confirmation for deleting multiple sessions in view |
|
788 |
//------------------------------------------------------------------------------ |
|
789 |
// |
|
790 |
RESOURCE TBUF r_loc_supl_query_terminate_multiple |
|
791 |
{ |
|
792 |
buf = qtn_loc_supl_query_terminate_multiple; |
|
793 |
} |
|
794 |
||
795 |
// --------------------------------------------------------- |
|
796 |
// Additional resource files |
|
797 |
// --------------------------------------------------------- |
|
798 |
// |
|
799 |
#include "locsuplservereditor.rss" |
|
800 |
#include "locsuplsessioneditor.rss" |