|
1 /* |
|
2 * Copyright (c) 2002-2006 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: This file contains all the resources for the module. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME CFDR |
|
21 |
|
22 // INCLUDES |
|
23 #include <eikon.rh> |
|
24 #include <avkon.rh> |
|
25 #include <avkon.rsg> |
|
26 #include <avkon.loc> |
|
27 #include <commondialogs.loc> |
|
28 #include <CommonDialogs.rh> |
|
29 |
|
30 // RESOURCE DEFINITIONS |
|
31 |
|
32 // --------------------------------------------------------- |
|
33 // |
|
34 // A must-be signature definition in an external resource file |
|
35 // |
|
36 // --------------------------------------------------------- |
|
37 // |
|
38 RESOURCE RSS_SIGNATURE { } |
|
39 |
|
40 // --------------------------------------------------------- |
|
41 // |
|
42 // Numerous resources for localized texts |
|
43 // |
|
44 // --------------------------------------------------------- |
|
45 // |
|
46 |
|
47 RESOURCE TBUF r_cfd_qtn_memc_phone |
|
48 { |
|
49 buf = qtn_memc_phone; |
|
50 } |
|
51 |
|
52 RESOURCE TBUF r_cfd_qtn_memc_mmc |
|
53 { |
|
54 buf = qtn_memc_mmc; |
|
55 } |
|
56 |
|
57 RESOURCE TBUF r_cfd_qtn_memc_mmc_locked |
|
58 { |
|
59 buf = qtn_memc_mmc_locked; |
|
60 } |
|
61 |
|
62 RESOURCE TBUF r_cfd_qtn_memc_mmc_unavailable |
|
63 { |
|
64 buf = qtn_memc_mmc_unavailable; |
|
65 } |
|
66 |
|
67 RESOURCE TBUF r_cfd_qtn_database_phone |
|
68 { |
|
69 buf = qtn_database_phone; |
|
70 } |
|
71 |
|
72 RESOURCE TBUF r_cfd_qtn_memc_mce_default |
|
73 { |
|
74 buf = qtn_memc_mce_default; |
|
75 } |
|
76 |
|
77 RESOURCE TBUF r_cfd_qtn_database_locked |
|
78 { |
|
79 buf = qtn_database_locked; |
|
80 } |
|
81 |
|
82 RESOURCE TBUF r_cfd_qtn_database_unavailable |
|
83 { |
|
84 buf = qtn_database_unavailable; |
|
85 } |
|
86 |
|
87 RESOURCE TBUF r_cfd_qtn_memc_phone_double_list |
|
88 { |
|
89 buf = qtn_memc_phone_double_list; |
|
90 } |
|
91 |
|
92 RESOURCE TBUF r_cfd_qtn_memc_free_memory |
|
93 { |
|
94 buf = qtn_memc_free_memory; |
|
95 } |
|
96 |
|
97 RESOURCE TBUF r_cfd_qtn_memc_units_byte |
|
98 { |
|
99 buf = qtn_memc_units_byte; |
|
100 } |
|
101 |
|
102 RESOURCE TBUF r_cfd_qtn_memc_units_kilobyte |
|
103 { |
|
104 buf = qtn_memc_units_kilobyte; |
|
105 } |
|
106 |
|
107 RESOURCE TBUF r_cfd_qtn_memc_units_megabyte |
|
108 { |
|
109 buf = qtn_memc_units_megabyte; |
|
110 } |
|
111 |
|
112 RESOURCE TBUF r_cfd_qtn_memc_units_gigabyte |
|
113 { |
|
114 buf = qtn_memc_units_gigabyte; |
|
115 } |
|
116 |
|
117 RESOURCE TBUF r_cfd_qtn_memc_free_memory_var_units |
|
118 { |
|
119 buf = qtn_memc_free_memory_var_units; |
|
120 } |
|
121 |
|
122 RESOURCE TBUF r_cfd_qtn_memc_free_memory_var_units_dot |
|
123 { |
|
124 buf = qtn_memc_free_memory_var_units_dot; |
|
125 } |
|
126 |
|
127 RESOURCE TBUF r_cfd_qtn_memc_mmc_double_list |
|
128 { |
|
129 buf = qtn_memc_mmc_double_list; |
|
130 } |
|
131 |
|
132 RESOURCE TBUF r_cfd_qtn_memc_mmc_locked_double |
|
133 { |
|
134 buf = qtn_memc_mmc_locked_double; |
|
135 } |
|
136 |
|
137 RESOURCE TBUF r_cfd_qtn_memc_mmc_unavailable_double |
|
138 { |
|
139 buf = qtn_memc_mmc_unavailable_double; |
|
140 } |
|
141 |
|
142 RESOURCE TBUF r_cfd_qtn_fldr_root_level |
|
143 { |
|
144 buf = qtn_fldr_root_level; |
|
145 } |
|
146 |
|
147 RESOURCE TBUF R_CFD_QTN_MEMC_REMOTE_DRIVE |
|
148 { |
|
149 buf = qtn_memc_remote_drive; |
|
150 } |
|
151 |
|
152 RESOURCE TBUF R_CFD_QTN_MEMC_REMOTE_DRIVE_DOUBLE_LIST |
|
153 { |
|
154 buf = qtn_memc_remote_drive; |
|
155 } |
|
156 |
|
157 RESOURCE TBUF R_CFD_QTN_MEMC_SPACE_NOT_AVAILABLE |
|
158 { |
|
159 buf = qtn_memc_space_not_available; |
|
160 } |
|
161 |
|
162 // New text strings for multiple drive support |
|
163 RESOURCE TBUF R_CFD_QTN_MEM_DEVICE_MEMORY |
|
164 { |
|
165 buf = qtn_mem_device_memory; |
|
166 } |
|
167 |
|
168 RESOURCE TBUF R_CFD_QTN_MEM_MASS_STORAGE |
|
169 { |
|
170 buf = qtn_mem_mass_storage; |
|
171 } |
|
172 |
|
173 RESOURCE TBUF R_CFD_QTN_MEM_MASS_STORAGE_UNAVAILABLE |
|
174 { |
|
175 buf = qtn_mem_mass_storage_unavailable; |
|
176 } |
|
177 |
|
178 RESOURCE TBUF R_CFD_QTN_MEM_MEMORY_CARD_DEFAULT |
|
179 { |
|
180 buf = qtn_mem_memory_card_default; |
|
181 } |
|
182 |
|
183 RESOURCE TBUF R_CFD_QTN_MEM_NAMED_MEMORY_CARD |
|
184 { |
|
185 buf = qtn_mem_named_memory_card; |
|
186 } |
|
187 |
|
188 RESOURCE TBUF R_CFD_QTN_MEM_MEMORY_CARD_LOCKED |
|
189 { |
|
190 buf = qtn_mem_memory_card_locked; |
|
191 } |
|
192 |
|
193 RESOURCE TBUF R_CFD_QTN_MEM_MEMORY_CARD_UNAVAILABLE |
|
194 { |
|
195 buf = qtn_mem_memory_card_unavailable; |
|
196 } |
|
197 |
|
198 RESOURCE TBUF R_CFD_QTN_MEM_DEVICE_MEMORY_DOUBLE_LIST |
|
199 { |
|
200 buf = qtn_mem_device_memory_double_list; |
|
201 } |
|
202 |
|
203 RESOURCE TBUF R_CFD_QTN_MEM_MASS_STORAGE_DOUBLE_LIST |
|
204 { |
|
205 buf = qtn_mem_mass_storage_double_list; |
|
206 } |
|
207 |
|
208 RESOURCE TBUF R_CFD_QTN_MEM_NAMED_MEMORY_CARD_DOUBLE |
|
209 { |
|
210 buf = qtn_mem_named_memory_card_double; |
|
211 } |
|
212 |
|
213 RESOURCE TBUF R_CFD_QTN_MEM_MEMORY_CARD_DEFAULT_DOUBLE |
|
214 { |
|
215 buf = qtn_mem_memory_card_default_double; |
|
216 } |
|
217 |
|
218 RESOURCE TBUF R_CFD_QTN_MEM_DEVICE_MEMEORY_SETTING_LIST |
|
219 { |
|
220 buf = qtn_mem_device_memory_setting_list; |
|
221 } |
|
222 |
|
223 RESOURCE TBUF R_CFD_QTN_MEM_MASS_STORAGE_SETTING_LIST |
|
224 { |
|
225 buf = qtn_mem_mass_storage_setting_list; |
|
226 } |
|
227 |
|
228 RESOURCE TBUF R_CFD_QTN_MEM_MEMORY_CARD_DEFAULT_SETTING_LIST |
|
229 { |
|
230 buf = qtn_mem_memory_card_defaul_setting_list; |
|
231 } |
|
232 |
|
233 RESOURCE TBUF R_CFD_QTN_MEM_NAMED_MEMORY_CARD_SETTING_LIST |
|
234 { |
|
235 buf = qtn_mem_named_memory_card_setting_list; |
|
236 } |
|
237 |
|
238 // --------------------------------------------------------- |
|
239 // |
|
240 // Softkey texts from AVKON.LOC |
|
241 // |
|
242 // --------------------------------------------------------- |
|
243 // |
|
244 |
|
245 RESOURCE TBUF r_cfd_text_softkey_back |
|
246 { |
|
247 buf = text_softkey_back; |
|
248 } |
|
249 |
|
250 // --------------------------------------------------------- |
|
251 // |
|
252 // Other texts from AVKON.LOC |
|
253 // |
|
254 // --------------------------------------------------------- |
|
255 // |
|
256 RESOURCE TBUF r_cfd_qtn_fldr_overwrite_query |
|
257 { |
|
258 buf = qtn_fldr_overwrite_query; |
|
259 } |
|
260 |
|
261 RESOURCE TBUF r_cfd_qtn_fldr_rename_query |
|
262 { |
|
263 buf = qtn_fldr_rename_query; |
|
264 } |
|
265 |
|
266 RESOURCE TBUF r_cfd_qtn_fldr_item_name_prmpt |
|
267 { |
|
268 buf = qtn_fldr_item_name_prmpt; |
|
269 } |
|
270 |
|
271 RESOURCE TBUF r_cfd_qtn_fldr_illegal_characters |
|
272 { |
|
273 buf = qtn_fldr_illegal_characters; |
|
274 } |
|
275 |
|
276 RESOURCE TBUF r_cfd_qtn_fldr_bad_file_name |
|
277 { |
|
278 buf = qtn_fldr_bad_file_name; |
|
279 } |
|
280 |
|
281 RESOURCE TBUF r_cfd_password_query_text |
|
282 { |
|
283 buf = qtn_mem_card_unlock_prompt; |
|
284 } |
|
285 |
|
286 RESOURCE TBUF r_cfd_incorrect_password_text |
|
287 { |
|
288 buf = qtn_memc_change_pwd_error1; |
|
289 } |
|
290 |
|
291 // --------------------------------------------------------- |
|
292 // |
|
293 // r_cfd_unlock_confirmation_query |
|
294 // A resource for "unlock memory card?" -query |
|
295 // |
|
296 // --------------------------------------------------------- |
|
297 // |
|
298 RESOURCE DIALOG r_cfd_confirmation_query |
|
299 { |
|
300 flags = EGeneralQueryFlags; |
|
301 buttons = R_AVKON_SOFTKEYS_YES_NO__YES; |
|
302 items = |
|
303 { |
|
304 DLG_LINE |
|
305 { |
|
306 type = EAknCtQuery; |
|
307 id = EGeneralQuery; |
|
308 control = AVKON_CONFIRMATION_QUERY |
|
309 { |
|
310 layout = EConfirmationQueryLayout; |
|
311 }; |
|
312 } |
|
313 }; |
|
314 } |
|
315 |
|
316 // --------------------------------------------------------- |
|
317 // |
|
318 // r_cfd_radiobutton_listbox |
|
319 // A resource that defines a listbox for default memory selection setting page |
|
320 // |
|
321 // --------------------------------------------------------- |
|
322 // |
|
323 RESOURCE LISTBOX r_cfd_radiobutton_listbox |
|
324 { |
|
325 flags = EEikListBoxMultipleSelection; |
|
326 } |
|
327 |
|
328 // --------------------------------------------------------- |
|
329 // |
|
330 // r_cfd_radiobutton_setting_page |
|
331 // A resource that defines default memory selection setting page |
|
332 // |
|
333 // --------------------------------------------------------- |
|
334 // |
|
335 RESOURCE AVKON_SETTING_PAGE r_cfd_radiobutton_setting_page |
|
336 { |
|
337 label = qtn_memc_default_store; |
|
338 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
339 type = EAknSetListBox; |
|
340 editor_resource_id = r_cfd_radiobutton_listbox; |
|
341 } |
|
342 |
|
343 // --------------------------------------------------------- |
|
344 // |
|
345 // r_cfd_filename_prompt_dialog |
|
346 // A resource that defines a filename prompt data query dialog |
|
347 // |
|
348 // --------------------------------------------------------- |
|
349 // |
|
350 RESOURCE DIALOG r_cfd_filename_prompt_dialog |
|
351 { |
|
352 flags = EGeneralQueryFlags; |
|
353 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
354 items = |
|
355 { |
|
356 DLG_LINE |
|
357 { |
|
358 type = EAknCtQuery; |
|
359 id = EGeneralQuery; |
|
360 control = AVKON_DATA_QUERY |
|
361 { |
|
362 layout = EDataLayout; |
|
363 label = qtn_memc_filename_prompt; |
|
364 control = EDWIN |
|
365 { |
|
366 flags = EEikEdwinNoHorizScrolling | EEikEdwinResizable; |
|
367 maxlength = 0x100; // KMaxFileName |
|
368 }; |
|
369 }; |
|
370 } |
|
371 }; |
|
372 } |
|
373 |
|
374 RESOURCE DIALOG r_cfd_password_query_dialog |
|
375 { |
|
376 flags = EGeneralQueryFlags; |
|
377 buttons = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
378 items = |
|
379 { |
|
380 DLG_LINE |
|
381 { |
|
382 type = EAknCtQuery; |
|
383 id = EGeneralQuery; |
|
384 control = AVKON_DATA_QUERY |
|
385 { |
|
386 layout = ECodeLayout; |
|
387 control = SECRETED |
|
388 { |
|
389 num_letters = 8; // Only 8 Unicode chars fit |
|
390 }; |
|
391 }; |
|
392 } |
|
393 }; |
|
394 } |
|
395 |
|
396 // --------------------------------------------------------- |
|
397 // |
|
398 // |
|
399 // Resources with default settings for dialogs. |
|
400 // |
|
401 // --------------------------------------------------------- |
|
402 // |
|
403 RESOURCE MEMORYSELECTIONDIALOG r_cfd_default_memory_selection |
|
404 { |
|
405 title = qtn_memc_select_memory; |
|
406 softkey_1 = text_softkey_ok; |
|
407 softkey_2 = text_softkey_cancel; |
|
408 } |
|
409 |
|
410 RESOURCE MEMORYSELECTIONDIALOG r_cfd_default_save_memory_selection |
|
411 { |
|
412 title = qtn_memc_save_heading; |
|
413 softkey_1 = text_softkey_open; |
|
414 softkey_2 = text_softkey_cancel; |
|
415 } |
|
416 |
|
417 RESOURCE MEMORYSELECTIONDIALOG r_cfd_default_move_memory_selection |
|
418 { |
|
419 title = qtn_fldr_move_to_prmpt; |
|
420 softkey_1 = text_softkey_open; |
|
421 softkey_2 = text_softkey_cancel; |
|
422 } |
|
423 |
|
424 RESOURCE MEMORYSELECTIONDIALOG r_cfd_default_default_memory_selection |
|
425 { |
|
426 title = qtn_memc_default_store; |
|
427 softkey_1 = text_softkey_ok; |
|
428 softkey_2 = text_softkey_cancel; |
|
429 } |
|
430 |
|
431 RESOURCE MEMORYSELECTIONDIALOG r_cfd_default_select_memory_selection |
|
432 { |
|
433 title = qtn_memc_select_memory; |
|
434 softkey_1 = text_softkey_open; |
|
435 softkey_2 = text_softkey_cancel; |
|
436 } |
|
437 |
|
438 RESOURCE MEMORYSELECTIONDIALOG r_cfd_default_copy_memory_selection |
|
439 { |
|
440 title = qtn_fldr_copy_to_prmpt; |
|
441 softkey_1 = text_softkey_open; |
|
442 softkey_2 = text_softkey_cancel; |
|
443 } |
|
444 |
|
445 RESOURCE FILESELECTIONDIALOG r_cfd_default_save_file_selection |
|
446 { |
|
447 title = qtn_memc_save_heading; |
|
448 softkey_1_file = text_softkey_save; |
|
449 softkey_1_folder = text_softkey_open; |
|
450 softkey_2_root_level = text_softkey_cancel; |
|
451 softkey_2_subfolder = text_softkey_back; |
|
452 } |
|
453 |
|
454 RESOURCE FILESELECTIONDIALOG r_cfd_default_move_file_selection |
|
455 { |
|
456 title = qtn_fldr_move_to_prmpt; |
|
457 softkey_1_file = text_softkey_move; |
|
458 softkey_1_folder = text_softkey_open; |
|
459 softkey_2_root_level = text_softkey_cancel; |
|
460 softkey_2_subfolder = text_softkey_back; |
|
461 } |
|
462 |
|
463 RESOURCE FILESELECTIONDIALOG r_cfd_default_select_file_selection |
|
464 { |
|
465 title = qtn_memc_select_heading; |
|
466 softkey_1_file = text_softkey_select; |
|
467 softkey_1_folder = text_softkey_open; |
|
468 softkey_2_root_level = text_softkey_cancel; |
|
469 softkey_2_subfolder = text_softkey_back; |
|
470 } |
|
471 |
|
472 RESOURCE FILESELECTIONDIALOG r_cfd_default_browse_file_selection |
|
473 { |
|
474 softkey_1_file = text_softkey_ok; |
|
475 softkey_1_folder = text_softkey_ok; |
|
476 softkey_2_root_level = text_softkey_cancel; |
|
477 softkey_2_subfolder = text_softkey_back; |
|
478 } |
|
479 |
|
480 RESOURCE FILESELECTIONDIALOG r_cfd_default_copy_file_selection |
|
481 { |
|
482 title = qtn_fldr_copy_to_prmpt; |
|
483 softkey_1_file = text_softkey_copy; |
|
484 softkey_1_folder = text_softkey_open; |
|
485 softkey_2_root_level = text_softkey_cancel; |
|
486 softkey_2_subfolder = text_softkey_back; |
|
487 } |
|
488 |
|
489 RESOURCE FILENAMEPROMPTDIALOG r_cfd_default_save_filename_prompt |
|
490 { |
|
491 filename_prompt = qtn_memc_filename_prompt; |
|
492 path = "C:\\"; |
|
493 softkey_1 = text_softkey_ok; |
|
494 softkey_2 = text_softkey_cancel; |
|
495 } |
|
496 |
|
497 // End of File |