|
1 /* |
|
2 * Copyright (c) 2002-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 SWInstCommonUI module. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 NAME COUI |
|
20 |
|
21 #include <eikon.rh> |
|
22 #include <avkon.rsg> |
|
23 #include <avkon.rh> |
|
24 #include <avkon.mbg> |
|
25 #include <avkon.loc> |
|
26 #include <CommonDialogs.hrh> |
|
27 #include <CommonDialogs.rh> |
|
28 |
|
29 #include <appinstui.loc> |
|
30 |
|
31 RESOURCE RSS_SIGNATURE { } |
|
32 |
|
33 RESOURCE TBUF { buf = ""; } |
|
34 |
|
35 |
|
36 //------------------------------------------------------------------------------ |
|
37 // |
|
38 // r_swcommon_general_wait_dialog |
|
39 // Defines a common wait dialog |
|
40 // |
|
41 //------------------------------------------------------------------------------ |
|
42 // |
|
43 RESOURCE DIALOG r_swcommon_general_wait_dialog |
|
44 { |
|
45 flags = EAknWaitNoteFlags; |
|
46 buttons = R_AVKON_SOFTKEYS_CANCEL; |
|
47 items = |
|
48 { |
|
49 DLG_LINE |
|
50 { |
|
51 type = EAknCtNote; |
|
52 id = EGeneralNote; |
|
53 control = AVKON_NOTE |
|
54 { |
|
55 layout = EWaitLayout; |
|
56 animation = R_QGN_GRAF_WAIT_BAR_ANIM; |
|
57 }; |
|
58 } |
|
59 }; |
|
60 } |
|
61 |
|
62 RESOURCE DIALOG r_swcommon_general_progress_dialog |
|
63 { |
|
64 flags = EAknProgressNoteFlags; |
|
65 buttons = R_AVKON_SOFTKEYS_EMPTY; |
|
66 items = |
|
67 { |
|
68 DLG_LINE |
|
69 { |
|
70 type = EAknCtNote; |
|
71 id = EAknNoteProgressBar; |
|
72 control = AVKON_NOTE |
|
73 { |
|
74 layout = EProgressLayout; |
|
75 }; |
|
76 } |
|
77 }; |
|
78 } |
|
79 |
|
80 //------------------------------------------------------------------------------ |
|
81 // |
|
82 // r_swcommon_general_confirmation_query |
|
83 // Defines a common confirmation query |
|
84 // |
|
85 //------------------------------------------------------------------------------ |
|
86 // |
|
87 RESOURCE DIALOG r_swcommon_general_confirmation_query |
|
88 { |
|
89 flags = EGeneralQueryFlags; |
|
90 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
91 items= |
|
92 { |
|
93 DLG_LINE |
|
94 { |
|
95 type = EAknCtQuery; |
|
96 id = EGeneralQuery; |
|
97 control = AVKON_CONFIRMATION_QUERY |
|
98 { |
|
99 layout = EConfirmationQueryLayout; |
|
100 }; |
|
101 } |
|
102 }; |
|
103 } |
|
104 |
|
105 //------------------------------------------------------------------------------ |
|
106 // |
|
107 // r_swcommon_security_warning_dialog |
|
108 // Defines a warning dialog for untrusted applications |
|
109 // |
|
110 //------------------------------------------------------------------------------ |
|
111 // |
|
112 RESOURCE DIALOG r_swcommon_security_warning_dialog |
|
113 { |
|
114 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
115 buttons = r_swcommon_softkeys_continue_cancel__continue; |
|
116 items = |
|
117 { |
|
118 DLG_LINE |
|
119 { |
|
120 type = EAknCtPopupHeadingPane; |
|
121 id = EAknMessageQueryHeaderId; |
|
122 control = AVKON_HEADING |
|
123 { |
|
124 label = qtn_am_note_head_security_warn; |
|
125 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
126 }; |
|
127 }, |
|
128 DLG_LINE |
|
129 { |
|
130 type = EAknCtMessageQuery; |
|
131 id = EAknMessageQueryContentId; |
|
132 control = AVKON_MESSAGE_QUERY |
|
133 { |
|
134 }; |
|
135 } |
|
136 }; |
|
137 |
|
138 } |
|
139 |
|
140 //------------------------------------------------------------------------------ |
|
141 // |
|
142 // r_swcommon_sec_selection_dialog |
|
143 // Defines a selection dialog for certificate |
|
144 // |
|
145 //------------------------------------------------------------------------------ |
|
146 // |
|
147 RESOURCE AVKON_LIST_QUERY r_swcommon_sec_selection_dialog |
|
148 { |
|
149 softkeys = R_AVKON_SOFTKEYS_SELECT_BACK__SELECT; |
|
150 items= |
|
151 { |
|
152 AVKON_LIST_QUERY_DLG_LINE |
|
153 { |
|
154 control= AVKON_LIST_QUERY_CONTROL |
|
155 { |
|
156 listtype = EAknCtSinglePopupMenuListBox; |
|
157 listbox = AVKON_LIST_QUERY_LIST |
|
158 { |
|
159 array_id = r_swcommon_empty_array; |
|
160 }; |
|
161 }; |
|
162 } |
|
163 }; |
|
164 } |
|
165 |
|
166 //------------------------------------------------------------------------------ |
|
167 // |
|
168 // r_swcommon_sec_details_dialog |
|
169 // Defines a details dialog for a certificate |
|
170 // |
|
171 //------------------------------------------------------------------------------ |
|
172 // |
|
173 RESOURCE DIALOG r_swcommon_sec_details_dialog |
|
174 { |
|
175 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
176 buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK; |
|
177 items = |
|
178 { |
|
179 DLG_LINE |
|
180 { |
|
181 type = EAknCtPopupHeadingPane; |
|
182 id = EAknMessageQueryHeaderId; |
|
183 control = AVKON_HEADING |
|
184 { |
|
185 label = qtn_swins_heading_cert; |
|
186 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
187 }; |
|
188 }, |
|
189 DLG_LINE |
|
190 { |
|
191 type = EAknCtMessageQuery; |
|
192 id = EAknMessageQueryContentId; |
|
193 control = AVKON_MESSAGE_QUERY |
|
194 { |
|
195 }; |
|
196 } |
|
197 }; |
|
198 } |
|
199 |
|
200 //------------------------------------------------------------------------------ |
|
201 // |
|
202 // r_swcommon_details_dialog |
|
203 // Defines a details dialog for a certificate |
|
204 // |
|
205 //------------------------------------------------------------------------------ |
|
206 // |
|
207 RESOURCE DIALOG r_swcommon_details_dialog |
|
208 { |
|
209 flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow; |
|
210 buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK; |
|
211 items = |
|
212 { |
|
213 DLG_LINE |
|
214 { |
|
215 type = EAknCtPopupHeadingPane; |
|
216 id = EAknMessageQueryHeaderId; |
|
217 control = AVKON_HEADING |
|
218 { |
|
219 label = qtn_swins_heading_det; |
|
220 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; |
|
221 }; |
|
222 }, |
|
223 DLG_LINE |
|
224 { |
|
225 type = EAknCtMessageQuery; |
|
226 id = EAknMessageQueryContentId; |
|
227 control = AVKON_MESSAGE_QUERY |
|
228 { |
|
229 }; |
|
230 } |
|
231 }; |
|
232 } |
|
233 |
|
234 //------------------------------------------------------------------------------ |
|
235 // |
|
236 // r_swcommon_drive_query |
|
237 // Defines a memory selection dialog |
|
238 // |
|
239 //------------------------------------------------------------------------------ |
|
240 RESOURCE MEMORYSELECTIONDIALOG r_swcommon_memory_selection_dialog |
|
241 { |
|
242 softkey_1 = text_softkey_select; |
|
243 softkey_2 = text_softkey_cancel; |
|
244 } |
|
245 |
|
246 //------------------------------------------------------------------------------ |
|
247 // |
|
248 // r_swcommon_softkeys_continue_cancel |
|
249 // Defines softkeys continue, cancel |
|
250 // |
|
251 //------------------------------------------------------------------------------ |
|
252 // |
|
253 RESOURCE CBA r_swcommon_softkeys_continue_cancel |
|
254 { |
|
255 buttons = |
|
256 { |
|
257 CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_continue; }, |
|
258 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; } |
|
259 }; |
|
260 } |
|
261 |
|
262 |
|
263 |
|
264 //------------------------------------------------------------------------------ |
|
265 // |
|
266 // r_swcommon_softkeys_continue_cancel__continue |
|
267 // Defines softkeys continue, cancel, continue (MSK) |
|
268 // |
|
269 //------------------------------------------------------------------------------ |
|
270 // |
|
271 RESOURCE CBA r_swcommon_softkeys_continue_cancel__continue |
|
272 { |
|
273 buttons = |
|
274 { |
|
275 CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_continue; }, |
|
276 CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; }, |
|
277 CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_continue; } |
|
278 }; |
|
279 } |
|
280 |
|
281 //------------------------------------------------------------------------------ |
|
282 // |
|
283 // r_swcommon_empty_array |
|
284 // Defines an empty array |
|
285 // |
|
286 //------------------------------------------------------------------------------ |
|
287 // |
|
288 RESOURCE ARRAY r_swcommon_empty_array |
|
289 { |
|
290 items= |
|
291 { |
|
292 LBUF { txt=""; } |
|
293 }; |
|
294 } |
|
295 |
|
296 //------------------------------------------------------------------------------ |
|
297 // |
|
298 // String definitions |
|
299 // |
|
300 //------------------------------------------------------------------------------ |
|
301 // |
|
302 |
|
303 // Security warning dialog |
|
304 RESOURCE TBUF r_swcommon_security_warning_head { buf = qtn_am_note_head_security_warn; } |
|
305 RESOURCE TBUF r_swcommon_security_warning { buf = qtn_am_note_text_security_warn; } |
|
306 RESOURCE TBUF r_swcommon_security_warning_more_info { buf = qtn_swins_link_more_info; } |
|
307 |
|
308 // For memory selection dialog |
|
309 RESOURCE TBUF r_swcommon_memory_heading { buf = qtn_jam_lqh_instlocation; } |
|
310 RESOURCE TBUF r_swcommon_not_enough_memory_in_drive { buf = qtn_jam_note_memerror; } |
|
311 |
|
312 // For details dialog |
|
313 RESOURCE TBUF r_swcommon_detail_heading { buf = qtn_swins_heading_det; } |
|
314 RESOURCE TBUF r_swcommon_detail_technology { buf = qtn_am_detail_technology; } |
|
315 RESOURCE TBUF r_swcommon_detail_name { buf = qtn_swins_lsh2_apps_name; } |
|
316 RESOURCE TBUF r_swcommon_detail_version { buf = qtn_swins_lsh2_apps_version; } |
|
317 RESOURCE TBUF r_swcommon_detail_type { buf = qtn_swins_lsh2_apps_type; } |
|
318 RESOURCE TBUF r_swcommon_detail_appsize { buf = qtn_swins_lsh2_apps_size; } |
|
319 RESOURCE TBUF r_swcommon_detail_supplier { buf = qtn_swins_lsh2_apps_from; } |
|
320 RESOURCE TBUF r_swcommon_detail_status { buf = qtn_swins_lsh2_apps_status; } |
|
321 RESOURCE TBUF r_swcommon_detail_datasize { buf = qtn_jam_info_data_size; } |
|
322 RESOURCE TBUF r_swcommon_detail_location { buf = qtn_jam_info_memory; } |
|
323 RESOURCE TBUF r_swcommon_detail_domain { buf = qtn_am_info_midlet_domain_trust; } |
|
324 RESOURCE TBUF r_swcommon_detail_permissions { buf = qtn_am_info_midlet_permissions; } |
|
325 RESOURCE TBUF r_swcommon_detail_content { buf = qtn_am_detail_suite_content; } |
|
326 RESOURCE TBUF r_swcommon_detail_info_url { buf = qtn_jam_info_url; } |
|
327 RESOURCE TBUF r_swcommon_detail_certificates { buf = qtn_am_detail_cert; } |
|
328 RESOURCE TBUF r_swcommon_detail_drm { buf = qtn_am_detail_drm; } |
|
329 |
|
330 RESOURCE TBUF r_swcommon_detail_value_application { buf = qtn_swins_ls1_install_app; } |
|
331 RESOURCE TBUF r_swcommon_detail_value_widget { buf = qtn_swins_ls1_install_widget; } |
|
332 RESOURCE TBUF r_swcommon_detail_value_installed { buf = qtn_swins_ls1_fully_inst; } |
|
333 RESOURCE TBUF r_swcommon_detail_value_not_installed { buf = qtn_swins_ls1_not_inst; } |
|
334 RESOURCE TBUF r_swcommon_detail_value_running { buf = qtn_jam_info_stat_running; } |
|
335 RESOURCE TBUF r_swcommon_detail_value_not_loaded { buf = qtn_jam_info_stat_not_loaded; } |
|
336 #ifdef RD_MULTIPLE_DRIVE |
|
337 RESOURCE TBUF r_swcommon_detail_value_device { buf = qtn_am_details_mem_device; } |
|
338 RESOURCE TBUF r_swcommon_detail_value_mmc { buf = qtn_am_details_mem_memory_card; } |
|
339 #else |
|
340 RESOURCE TBUF r_swcommon_detail_value_device { buf = qtn_jam_info_mem_device; } |
|
341 RESOURCE TBUF r_swcommon_detail_value_mmc { buf = qtn_jam_info_mem_mmc; } |
|
342 #endif // RD_MULTIPLE_DRIVE |
|
343 RESOURCE TBUF r_swcommon_detail_value_operator { buf = qtn_am_info_operator; } |
|
344 RESOURCE TBUF r_swcommon_detail_value_manufacturer { buf = qtn_am_info_manufacturer; } |
|
345 RESOURCE TBUF r_swcommon_detail_value_3rd_party { buf = qtn_am_info_trusted_3rd_party; } |
|
346 RESOURCE TBUF r_swcommon_detail_value_unt_3rd_party { buf = qtn_am_info_untrusted_3rd_party; } |
|
347 RESOURCE TBUF r_swcommon_detail_value_size { buf = qtn_swins_ls1_kilobyte; } |
|
348 RESOURCE TBUF r_swcommon_detail_value_view_cert { buf = qtn_am_cert_details; } |
|
349 RESOURCE TBUF r_swcommon_detail_value_view_drm { buf = qtn_am_drm_details; } |
|
350 RESOURCE TBUF r_swcommon_detail_value_unknown_supplier { buf = qtn_am_detail_unknown_supplier; } |
|
351 RESOURCE TBUF r_swcommon_detail_value_unknown_size { buf = qtn_am_detail_unknown_size; } |
|
352 RESOURCE TBUF r_swcommon_detail_value_unknown_data { buf = qtn_am_detail_unknown_data; } |
|
353 RESOURCE TBUF r_swcommon_detail_value_unknown_type { buf = qtn_am_detail_unknown_type; } |
|
354 RESOURCE TBUF r_swcommon_detail_value_unknown_url { buf = qtn_am_detail_unknown_url; } |
|
355 |
|
356 |
|
357 // For certificate details dialog |
|
358 RESOURCE TBUF r_swcommon_sec_subject { buf = qtn_swins_cert_subject; } |
|
359 RESOURCE TBUF r_swcommon_sec_issuer { buf = qtn_swins_lsh2_issuer; } |
|
360 RESOURCE TBUF r_swcommon_sec_valid_from { buf = qtn_swins_lsh2_valid; } |
|
361 RESOURCE TBUF r_swcommon_sec_valid_until { buf = qtn_swins_cert_valid; } |
|
362 RESOURCE TBUF r_swcommon_sec_serial { buf = qtn_swins_lsh2_serial; } |
|
363 RESOURCE TBUF r_swcommon_sec_fingerprint { buf = qtn_swins_cert_fingerprint; } |
|
364 |
|
365 // Common prompts |
|
366 RESOURCE TBUF r_swcommon_cancel_installation { buf = qtn_swins_note_cancel_conf; } |
|
367 |
|
368 RESOURCE TBUF r_swcommon_not_enough_memory { buf = qtn_memlo_not_enough_memory; } |
|
369 |
|
370 |
|
371 // For installation complete dialog |
|
372 |
|
373 //------------------------------------------------------------------------------ |
|
374 // |
|
375 // r_swcommon_start_query |
|
376 // Defines a installation complete dialog for Java applications |
|
377 // |
|
378 //------------------------------------------------------------------------------ |
|
379 // |
|
380 RESOURCE AVKON_LIST_QUERY r_swcommon_start_query |
|
381 { |
|
382 flags = EGeneralQueryFlags; |
|
383 softkeys = r_swcommon_softkeys_start_close__start; |
|
384 |
|
385 items = |
|
386 { |
|
387 AVKON_LIST_QUERY_DLG_LINE |
|
388 { |
|
389 control = AVKON_LIST_QUERY_CONTROL |
|
390 { |
|
391 listtype = EAknCtDoubleLargeGraphicPopupMenuListBox; |
|
392 listbox = AVKON_LIST_QUERY_LIST |
|
393 { |
|
394 }; |
|
395 heading = qtn_swins_installation_complete_head; |
|
396 }; |
|
397 } |
|
398 }; |
|
399 } |
|
400 |
|
401 //------------------------------------------------------------------------------ |
|
402 // |
|
403 // r_swcommon_softkeys_start_close__start |
|
404 // Defines softkeys start, close, start (MSK) |
|
405 // |
|
406 //------------------------------------------------------------------------------ |
|
407 // |
|
408 RESOURCE CBA r_swcommon_softkeys_start_close__start |
|
409 { |
|
410 buttons = |
|
411 { |
|
412 CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_start; }, |
|
413 CBA_BUTTON { id = EAknSoftkeyClose; txt = text_softkey_close; }, |
|
414 CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_start; } |
|
415 }; |
|
416 } |
|
417 |
|
418 |
|
419 RESOURCE TBUF r_swcommon_installed_folder_head { buf = qtn_jam_installed_folder; } |
|
420 RESOURCE TBUF r_swcommon_installed_folder { buf = qtn_swins_installed_folder; } |
|
421 |
|
422 //------------------------------------------------------------------------------ |
|
423 // |
|
424 // r_swcommon_multi_uninstall_dialog |
|
425 // Defines a dialog for confirmation to uninstall several applications |
|
426 // |
|
427 //------------------------------------------------------------------------------ |
|
428 // |
|
429 RESOURCE DIALOG r_swcommon_multi_uninstall_dialog |
|
430 { |
|
431 flags = EGeneralQueryFlags; |
|
432 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
433 items = |
|
434 { |
|
435 DLG_LINE |
|
436 { |
|
437 type = EAknCtPopupHeadingPane; |
|
438 id = EAknMessageQueryHeaderId; |
|
439 control = AVKON_HEADING |
|
440 { |
|
441 label = qtn_swins_heading_uninst_midlet_suite; |
|
442 }; |
|
443 }, |
|
444 DLG_LINE |
|
445 { |
|
446 type = EAknCtMessageQuery; |
|
447 id = EAknMessageQueryContentId; |
|
448 control = AVKON_MESSAGE_QUERY |
|
449 { |
|
450 }; |
|
451 } |
|
452 }; |
|
453 } |
|
454 |
|
455 RESOURCE TBUF r_swcommon_query_uninst_midlet_suite { buf = qtn_swins_query_uninst_midlet_suite; } |
|
456 RESOURCE TBUF r_swcommon_sec_fingerprint_md { buf = qtn_swins_cert_fingerprint_md; } |
|
457 #ifdef RD_MULTIPLE_DRIVE |
|
458 RESOURCE TBUF r_swcommon_detail_value_mass_storage { buf = qtn_am_details_mem_mass_storage; } |
|
459 #endif |
|
460 #ifdef RD_COMBINE_INSTALLATION_QUERIES |
|
461 RESOURCE TBUF r_swcommon_header_install { buf = qtn_swins_header_install; } |
|
462 RESOURCE TBUF r_swcommon_header_download { buf = qtn_swins_header_download; } |
|
463 #endif |
|
464 |
|
465 // End of File |
|
466 |