|
1 /* |
|
2 * Copyright (c) 2008 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: Resource definitions for Midlet Runtime plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME MLEP |
|
20 |
|
21 #include "javaapplicationsettings.hrh" // Midlet command IDs |
|
22 #include "javaapplicationsettings.loc" // UI strings |
|
23 |
|
24 #include <eikon.rh> // Resource structs |
|
25 #include <avkon.rh> // Resource structs |
|
26 #include <avkon.rsg> // Avkon resources |
|
27 #include <avkon.loc> // UI strings |
|
28 #include <cmmanager.loc> // Destination network strings |
|
29 |
|
30 RESOURCE RSS_SIGNATURE { } |
|
31 |
|
32 // --------------------------------------------------------------------------- |
|
33 // Test menu items |
|
34 // --------------------------------------------------------------------------- |
|
35 // |
|
36 RESOURCE MENU_ITEM midlet_suite_settings_menu_item |
|
37 { |
|
38 command = EAppMngrCmdSetSuiteSettings; |
|
39 txt = qtn_java_settings_app; |
|
40 } |
|
41 |
|
42 RESOURCE MENU_ITEM midlet_start_update_menu_item |
|
43 { |
|
44 command = EAppMngrCmdStartUpdate; |
|
45 txt = qtn_java_settings_update; |
|
46 } |
|
47 |
|
48 RESOURCE MENU_ITEM midlet_goto_url_menu_item |
|
49 { |
|
50 command = EAppMngrCmdGoToUrl; |
|
51 txt = qtn_java_settings_wwwlink; |
|
52 } |
|
53 |
|
54 |
|
55 //---------------------------------------------------- |
|
56 // |
|
57 // r_appmngr_view_context_specific |
|
58 // ?description |
|
59 // |
|
60 //---------------------------------------------------- |
|
61 // |
|
62 RESOURCE AVKON_VIEW r_appmngr_view_context_specific |
|
63 { |
|
64 menubar = r_appmngr_menubar_view_context_specific; |
|
65 cba = R_AVKON_SOFTKEYS_OPTIONS_BACK__SELECT; |
|
66 } |
|
67 |
|
68 //---------------------------------------------------- |
|
69 // |
|
70 // r_appmngr_menubar_view_context_specific |
|
71 // ?description |
|
72 // |
|
73 //---------------------------------------------------- |
|
74 // |
|
75 RESOURCE MENU_BAR r_appmngr_menubar_view_context_specific |
|
76 { |
|
77 titles= |
|
78 { |
|
79 MENU_TITLE { menu_pane = r_appmngr_settings_menu; txt = "View"; } |
|
80 }; |
|
81 } |
|
82 |
|
83 //---------------------------------------------------- |
|
84 // |
|
85 // r_appmngr_settings_menu |
|
86 // ?description |
|
87 // |
|
88 //---------------------------------------------------- |
|
89 // |
|
90 RESOURCE MENU_PANE r_appmngr_settings_menu |
|
91 { |
|
92 items= |
|
93 { |
|
94 MENU_ITEM { command = EAknCmdHelp; txt = qtn_options_help; }, |
|
95 MENU_ITEM { command = EAknCmdExit; txt = qtn_options_exit; } |
|
96 }; |
|
97 } |
|
98 |
|
99 //---------------------------------------------------------- |
|
100 // |
|
101 // r_java__sec_lbx_resource |
|
102 // |
|
103 //---------------------------------------------------------- |
|
104 // |
|
105 RESOURCE ARRAY r_list_box_item_array |
|
106 { |
|
107 items = |
|
108 { |
|
109 LBUF { txt = "\tItem1\t";}, |
|
110 LBUF { txt = "\tItem2\t";}, |
|
111 LBUF { txt = "\tItem3\t";}, |
|
112 LBUF { txt = "\tItem4\t";} |
|
113 }; |
|
114 } |
|
115 RESOURCE LISTBOX r_java__sec_lbx_resource |
|
116 { |
|
117 array_id = r_list_box_item_array; |
|
118 flags = EEikListBoxMultipleSelection | EAknListBoxItemSpecificMenuDisabled; |
|
119 } |
|
120 |
|
121 //---------------------------------------------------------- |
|
122 // |
|
123 // r_java_setting_on_screen_keypad_page |
|
124 // Setting page for security permission |
|
125 // |
|
126 //---------------------------------------------------------- |
|
127 // |
|
128 RESOURCE AVKON_SETTING_PAGE r_java_setting_on_screen_keypad_page |
|
129 { |
|
130 label = qtn_java_setting_on_screen_keypad; |
|
131 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
132 type = EAknSetListBox; |
|
133 editor_resource_id = r_java__sec_lbx_resource; |
|
134 } |
|
135 |
|
136 //---------------------------------------------------------- |
|
137 // |
|
138 // r_java_setting_net_access_page |
|
139 // Setting page for network access security permission |
|
140 // |
|
141 //---------------------------------------------------------- |
|
142 // |
|
143 RESOURCE AVKON_SETTING_PAGE r_java_setting_net_access_page |
|
144 { |
|
145 label = qtn_java_setting_net_access; |
|
146 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
147 type = EAknSetListBox; |
|
148 editor_resource_id = r_java__sec_lbx_resource; |
|
149 } |
|
150 |
|
151 //---------------------------------------------------------- |
|
152 // |
|
153 // r_java_setting_low_level_net_access_page |
|
154 // Setting page for network access security permission |
|
155 // |
|
156 //---------------------------------------------------------- |
|
157 // |
|
158 RESOURCE AVKON_SETTING_PAGE r_java_setting_low_level_net_access_page |
|
159 { |
|
160 label = qtn_java_setting_low_level_net_access; |
|
161 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
162 type = EAknSetListBox; |
|
163 editor_resource_id = r_java__sec_lbx_resource; |
|
164 } |
|
165 |
|
166 //---------------------------------------------------------- |
|
167 // |
|
168 // r_java_setting_call_control_page |
|
169 // Setting page for call control security permission |
|
170 // |
|
171 //---------------------------------------------------------- |
|
172 // |
|
173 RESOURCE AVKON_SETTING_PAGE r_java_setting_call_control_page |
|
174 { |
|
175 label = qtn_java_setting_call_control; |
|
176 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
177 type = EAknSetListBox; |
|
178 editor_resource_id = r_java__sec_lbx_resource; |
|
179 } |
|
180 |
|
181 //---------------------------------------------------------- |
|
182 // |
|
183 // r_java_setting_messaging_page |
|
184 // Setting page for messaging security permission |
|
185 // |
|
186 //---------------------------------------------------------- |
|
187 // |
|
188 RESOURCE AVKON_SETTING_PAGE r_java_setting_messaging_page |
|
189 { |
|
190 label = qtn_java_setting_messaging; |
|
191 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
192 type = EAknSetListBox; |
|
193 editor_resource_id = r_java__sec_lbx_resource; |
|
194 } |
|
195 |
|
196 //---------------------------------------------------------- |
|
197 // |
|
198 // r_java_setting_restricted_messaging_page |
|
199 // Setting page for restricted messaging security permission |
|
200 // |
|
201 //---------------------------------------------------------- |
|
202 // |
|
203 RESOURCE AVKON_SETTING_PAGE r_java_setting_restricted_messaging_page |
|
204 { |
|
205 label = qtn_java_setting_restricted_messaging; |
|
206 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
207 type = EAknSetListBox; |
|
208 editor_resource_id = r_java__sec_lbx_resource; |
|
209 } |
|
210 |
|
211 //---------------------------------------------------------- |
|
212 // |
|
213 // r_java_setting_app_auto_invocat_page |
|
214 // Setting page for automatic invocation security permission |
|
215 // |
|
216 //---------------------------------------------------------- |
|
217 // |
|
218 RESOURCE AVKON_SETTING_PAGE r_java_setting_app_auto_invocat_page |
|
219 { |
|
220 label = qtn_java_setting_app_auto_invocat; |
|
221 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
222 type = EAknSetListBox; |
|
223 editor_resource_id = r_java__sec_lbx_resource; |
|
224 } |
|
225 |
|
226 //---------------------------------------------------- |
|
227 // r_appmngr_query_dialog with ok-cancel buttons |
|
228 //---------------------------------------------------- |
|
229 RESOURCE DIALOG r_appmngr_query_dialog_ok_cancel |
|
230 { |
|
231 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
232 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
233 items= |
|
234 { |
|
235 DLG_LINE |
|
236 { |
|
237 type = EAknCtPopupHeadingPane; |
|
238 id = EAknMessageQueryHeaderId; |
|
239 control = AVKON_HEADING |
|
240 { |
|
241 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
242 }; |
|
243 }, |
|
244 DLG_LINE |
|
245 { |
|
246 type = EAknCtMessageQuery; |
|
247 id = EAknMessageQueryContentId; |
|
248 control = AVKON_MESSAGE_QUERY |
|
249 { |
|
250 }; |
|
251 } |
|
252 }; |
|
253 } |
|
254 |
|
255 //---------------------------------------------------------- |
|
256 // |
|
257 // r_java_setting_local_conn_page |
|
258 // Setting page for local connectivity security permission |
|
259 // |
|
260 //---------------------------------------------------------- |
|
261 // |
|
262 RESOURCE AVKON_SETTING_PAGE r_java_setting_local_conn_page |
|
263 { |
|
264 label = qtn_java_setting_local_conn; |
|
265 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
266 type = EAknSetListBox; |
|
267 editor_resource_id = r_java__sec_lbx_resource; |
|
268 } |
|
269 |
|
270 //---------------------------------------------------------- |
|
271 // |
|
272 // r_java_setting_mm_record_page |
|
273 // Setting page for multimedia recording security permission |
|
274 // |
|
275 //---------------------------------------------------------- |
|
276 // |
|
277 RESOURCE AVKON_SETTING_PAGE r_java_setting_mm_record_page |
|
278 { |
|
279 label = qtn_java_setting_mm_record; |
|
280 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
281 type = EAknSetListBox; |
|
282 editor_resource_id = r_java__sec_lbx_resource; |
|
283 } |
|
284 |
|
285 //---------------------------------------------------------- |
|
286 // |
|
287 // r_java_setting_read_data_page |
|
288 // Setting page for Read User data Access security permission |
|
289 // |
|
290 //---------------------------------------------------------- |
|
291 // |
|
292 RESOURCE AVKON_SETTING_PAGE r_java_setting_read_data_page |
|
293 { |
|
294 label = qtn_java_setting_read_data; |
|
295 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
296 type = EAknSetListBox; |
|
297 editor_resource_id = r_java__sec_lbx_resource; |
|
298 } |
|
299 |
|
300 //---------------------------------------------------------- |
|
301 // |
|
302 // r_java_setting_write_data_page |
|
303 // Setting page for Write User data access security permission |
|
304 // |
|
305 //---------------------------------------------------------- |
|
306 // |
|
307 RESOURCE AVKON_SETTING_PAGE r_java_setting_write_data_page |
|
308 { |
|
309 label = qtn_java_setting_write_data; |
|
310 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
311 type = EAknSetListBox; |
|
312 editor_resource_id = r_java__sec_lbx_resource; |
|
313 } |
|
314 |
|
315 //---------------------------------------------------------- |
|
316 // |
|
317 // r_java_setting_location_page |
|
318 // Setting page for location security permission |
|
319 // |
|
320 //---------------------------------------------------------- |
|
321 // |
|
322 RESOURCE AVKON_SETTING_PAGE r_java_setting_location_page |
|
323 { |
|
324 label = qtn_java_setting_location; |
|
325 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
326 type = EAknSetListBox; |
|
327 editor_resource_id = r_java__sec_lbx_resource; |
|
328 } |
|
329 |
|
330 //---------------------------------------------------------- |
|
331 // |
|
332 // r_java_setting_landmarks_page |
|
333 // Setting page for landmarks security permission |
|
334 // |
|
335 //---------------------------------------------------------- |
|
336 // |
|
337 RESOURCE AVKON_SETTING_PAGE r_java_setting_landmarks_page |
|
338 { |
|
339 label = qtn_java_setting_landmarks; |
|
340 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
341 type = EAknSetListBox; |
|
342 editor_resource_id = r_java__sec_lbx_resource; |
|
343 } |
|
344 |
|
345 //---------------------------------------------------------- |
|
346 // |
|
347 // r_java_setting_auth_page |
|
348 // Setting page for authentication security permission |
|
349 // |
|
350 //---------------------------------------------------------- |
|
351 // |
|
352 RESOURCE AVKON_SETTING_PAGE r_java_setting_auth_page |
|
353 { |
|
354 label = qtn_java_setting_auth; |
|
355 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
356 type = EAknSetListBox; |
|
357 editor_resource_id = r_java__sec_lbx_resource; |
|
358 } |
|
359 |
|
360 //---------------------------------------------------------- |
|
361 // |
|
362 // r_java_setting_smartcard_page |
|
363 // Setting page for smart card communication security permission |
|
364 // |
|
365 //---------------------------------------------------------- |
|
366 // |
|
367 RESOURCE AVKON_SETTING_PAGE r_java_setting_smartcard_page |
|
368 { |
|
369 label = qtn_java_setting_smartcard; |
|
370 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
371 type = EAknSetListBox; |
|
372 editor_resource_id = r_java__sec_lbx_resource; |
|
373 } |
|
374 |
|
375 //---------------------------------------------------------- |
|
376 // |
|
377 // r_java_setting_default_page |
|
378 // Setting page for security permission |
|
379 // |
|
380 //---------------------------------------------------------- |
|
381 // |
|
382 RESOURCE AVKON_SETTING_PAGE r_java_setting_default_page |
|
383 { |
|
384 label = qtn_java_setting_default; |
|
385 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
386 type = EAknSetListBox; |
|
387 editor_resource_id = r_java__sec_lbx_resource; |
|
388 } |
|
389 |
|
390 //---------------------------------------------------------- |
|
391 // |
|
392 // r_java_setting_security_warnings_page |
|
393 // Setting page for security warnings mode |
|
394 // |
|
395 //---------------------------------------------------------- |
|
396 // |
|
397 RESOURCE AVKON_SETTING_PAGE r_java_setting_security_warnings_page |
|
398 { |
|
399 label = qtn_java_setting_security_level; |
|
400 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
401 type = EAknSetListBox; |
|
402 editor_resource_id = r_java__sec_lbx_resource; |
|
403 } |
|
404 |
|
405 //---------------------------------------------------------- |
|
406 // |
|
407 // r_java_setting_broadcast_page |
|
408 // Setting page for broadcast |
|
409 // |
|
410 //---------------------------------------------------------- |
|
411 // |
|
412 RESOURCE AVKON_SETTING_PAGE r_java_setting_broadcast_page |
|
413 { |
|
414 label = qtn_java_setting_broadcast; |
|
415 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
416 type = EAknSetListBox; |
|
417 editor_resource_id = r_java__sec_lbx_resource; |
|
418 } |
|
419 |
|
420 //---------------------------------------------------------- |
|
421 // |
|
422 // r_java_setting_nfc_write_access_page |
|
423 // Setting page for NFC write access |
|
424 // |
|
425 //---------------------------------------------------------- |
|
426 // |
|
427 RESOURCE AVKON_SETTING_PAGE r_java_setting_nfc_write_access_page |
|
428 { |
|
429 label = qtn_java_setting_nfc_write_access; |
|
430 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
431 type = EAknSetListBox; |
|
432 editor_resource_id = r_java__sec_lbx_resource; |
|
433 } |
|
434 |
|
435 // ------------------------------------------------------ |
|
436 // Misc strings |
|
437 // ------------------------------------------------------ |
|
438 |
|
439 RESOURCE TBUF r_java_set_title { buf=qtn_java_settings_app_title; } |
|
440 RESOURCE TBUF r_java_sec_header { buf=qtn_java_settings_note_security_warn; } |
|
441 RESOURCE TBUF r_java_query_midlet_perm_excl { buf=qtn_java_settings_query_perm_warn; } |
|
442 RESOURCE TBUF r_java_query_midlet_perm_net { buf=qtn_java_settings_query_perm_net; } |
|
443 RESOURCE TBUF r_java_query_midlet_perm_sec { buf=qtn_java_settings_query_perm_sec; } |
|
444 RESOURCE TBUF r_java_info_stat_not_loaded { buf=qtn_java_app_details_status_only_jad; } |
|
445 RESOURCE TBUF r_java_msk_view_details { buf = qtn_msk_view_details; } |
|
446 RESOURCE TBUF r_java_conset_sett_always_ask { buf=qtn_netw_conset_sett_always_ask; } |
|
447 RESOURCE TBUF r_java_conset_sett_default_connection { buf=qtn_netw_conset_sett_default_connection; } |
|
448 RESOURCE TBUF r_java_setting_name_net_access { buf=qtn_java_setting_net_access; } |
|
449 RESOURCE TBUF r_java_setting_name_low_level_net_access { buf=qtn_java_setting_low_level_net_access; } |
|
450 RESOURCE TBUF r_java_setting_name_app_auto_invocat { buf=qtn_java_setting_app_auto_invocat; } |
|
451 RESOURCE TBUF r_java_setting_name_mm_record { buf=qtn_java_setting_mm_record; } |
|
452 RESOURCE TBUF r_java_setting_name_read_data { buf=qtn_java_setting_read_data; } |
|
453 RESOURCE TBUF r_java_setting_name_write_data { buf=qtn_java_setting_write_data; } |
|
454 RESOURCE TBUF r_java_setting_name_location { buf=qtn_java_setting_location; } |
|
455 RESOURCE TBUF r_java_setting_name_landmarks { buf=qtn_java_setting_landmarks; } |
|
456 RESOURCE TBUF r_java_setting_name_smartcard { buf=qtn_java_setting_smartcard; } |
|
457 RESOURCE TBUF r_java_setting_name_aut { buf=qtn_java_setting_auth; } |
|
458 RESOURCE TBUF r_java_setting_name_messaging { buf=qtn_java_setting_messaging; } |
|
459 RESOURCE TBUF r_java_setting_name_restricted_messaging { buf=qtn_java_setting_restricted_messaging; } |
|
460 RESOURCE TBUF r_java_setting_name_restricted_call_control { buf=qtn_java_setting_call_control; } |
|
461 RESOURCE TBUF r_java_setting_name_local_conn { buf=qtn_java_setting_local_conn; } |
|
462 RESOURCE TBUF r_java_setting_name_keypad { buf=qtn_java_setting_on_screen_keypad; } |
|
463 RESOURCE TBUF r_java_setting_name_network_destination { buf=qtn_netw_conset_sett_destination; } |
|
464 RESOURCE TBUF r_java_setting_name_broadcast { buf=qtn_java_setting_broadcast; } |
|
465 RESOURCE TBUF r_java_setting_name_nfc_write_access { buf=qtn_java_setting_nfc_write_access; } |
|
466 RESOURCE TBUF r_java_setting_name_security_warnings { buf=qtn_java_setting_security_level; } |
|
467 RESOURCE TBUF r_java_setting_value_no { buf=qtn_java_setting_value_no; } |
|
468 RESOURCE TBUF r_java_setting_value_oneshot { buf=qtn_java_setting_value_oneshot; } |
|
469 RESOURCE TBUF r_java_setting_value_session { buf=qtn_java_setting_value_session; } |
|
470 RESOURCE TBUF r_java_setting_value_blank { buf=qtn_java_setting_value_blanket; } |
|
471 RESOURCE TBUF r_java_keypad_setting_value_no { buf=qtn_java_setting_keypad_no; } |
|
472 RESOURCE TBUF r_java_keypad_setting_value_game { buf=qtn_java_setting_keypad_game; } |
|
473 RESOURCE TBUF r_java_keypad_setting_value_navigation { buf=qtn_java_setting_keypad_navigation; } |
|
474 RESOURCE TBUF r_java_security_warnings_setting_value_default { buf=qtn_java_setting_value_recommended; } |
|
475 RESOURCE TBUF r_java_security_warnings_setting_value_user_defined { buf=qtn_java_setting_value_user_defined; } |