1 /* |
|
2 * Copyright (c) 2002-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: Resource file for RSFW GS plugin |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 // RESOURCE IDENTIFIER |
|
20 NAME RSFW // 4 letter ID |
|
21 |
|
22 // INCLUDES |
|
23 #include <eikon.rh> |
|
24 #include <avkon.rsg> |
|
25 #include <avkon.rh> |
|
26 #include <avkon.mbg> |
|
27 #include <eikon.rsg> |
|
28 #include <appinfo.rh> |
|
29 #include <avkon.loc> |
|
30 #include <AvkonIcons.hrh> |
|
31 #include <data_caging_paths_strings.hrh> |
|
32 #include "rsfwgsplugin.hrh" |
|
33 #include <rsfwgsplugin.loc> |
|
34 #include <remotefileengine.loc> |
|
35 #include <cmmanager.loc> |
|
36 |
|
37 // RESOURCE DEFINITIONS |
|
38 |
|
39 RESOURCE RSS_SIGNATURE |
|
40 { |
|
41 } |
|
42 |
|
43 //------------------------------------------------------------------------------ |
|
44 // |
|
45 // EIK_APP_INFO |
|
46 // It contains application information. |
|
47 // |
|
48 //------------------------------------------------------------------------------ |
|
49 // |
|
50 RESOURCE EIK_APP_INFO |
|
51 { |
|
52 } |
|
53 |
|
54 |
|
55 // **COMMON RESOURCES |
|
56 |
|
57 //------------------------------------------------------------------------------ |
|
58 // |
|
59 // r_gs_menubar_open_exit |
|
60 // Options menu with 'Open' and 'Exit' items. |
|
61 // |
|
62 //------------------------------------------------------------------------------ |
|
63 // |
|
64 RESOURCE MENU_BAR r_gs_menubar_open_exit |
|
65 { |
|
66 titles = |
|
67 { |
|
68 MENU_TITLE |
|
69 { |
|
70 menu_pane = r_gs_menu_item_exit; |
|
71 }, |
|
72 MENU_TITLE |
|
73 { |
|
74 menu_pane = r_gs_menu_item_open; |
|
75 } |
|
76 }; |
|
77 } |
|
78 |
|
79 //------------------------------------------------------------------------------ |
|
80 // |
|
81 // r_gs_menubar_change_exit |
|
82 // Options menu with 'Change' and 'Exit' items. |
|
83 // |
|
84 //------------------------------------------------------------------------------ |
|
85 // |
|
86 RESOURCE MENU_BAR r_gs_menubar_change_exit |
|
87 { |
|
88 titles = |
|
89 { |
|
90 MENU_TITLE |
|
91 { |
|
92 menu_pane = r_gs_menu_item_exit; |
|
93 }, |
|
94 MENU_TITLE |
|
95 { |
|
96 menu_pane = r_gs_menu_item_change; |
|
97 } |
|
98 }; |
|
99 } |
|
100 |
|
101 //------------------------------------------------------------------------------ |
|
102 // |
|
103 // r_gs_menu_item_open |
|
104 // Options menu item 'Open'. |
|
105 // |
|
106 //------------------------------------------------------------------------------ |
|
107 // |
|
108 RESOURCE MENU_PANE r_gs_menu_item_open |
|
109 { |
|
110 items = |
|
111 { |
|
112 MENU_ITEM |
|
113 { |
|
114 command = EGSCmdAppOpen; |
|
115 txt = qtn_set_options_open; |
|
116 } |
|
117 }; |
|
118 } |
|
119 |
|
120 //------------------------------------------------------------------------------ |
|
121 // |
|
122 // r_gs_menu_item_change |
|
123 // Options menu item 'Change'. |
|
124 // |
|
125 //------------------------------------------------------------------------------ |
|
126 // |
|
127 RESOURCE MENU_PANE r_gs_menu_item_change |
|
128 { |
|
129 items = |
|
130 { |
|
131 MENU_ITEM |
|
132 { |
|
133 command = EGSCmdAppChange; |
|
134 txt = qtn_set_options_change; |
|
135 } |
|
136 }; |
|
137 } |
|
138 |
|
139 //------------------------------------------------------------------------------ |
|
140 // |
|
141 // r_gs_menu_item_exit |
|
142 // Options menu items 'Help' and 'Exit'. |
|
143 // Used instead of plain 'Exit' when help is wanted |
|
144 // to be shown in UI. |
|
145 // |
|
146 //------------------------------------------------------------------------------ |
|
147 // |
|
148 RESOURCE MENU_PANE r_gs_menu_item_exit |
|
149 { |
|
150 items = |
|
151 { |
|
152 MENU_ITEM |
|
153 { |
|
154 command = EAknCmdHelp; |
|
155 txt = qtn_options_help; |
|
156 }, |
|
157 MENU_ITEM |
|
158 { |
|
159 command = EAknCmdExit; |
|
160 txt = qtn_options_exit; |
|
161 } |
|
162 }; |
|
163 } |
|
164 |
|
165 |
|
166 // RSFW SETTINGS |
|
167 |
|
168 //---------------------------------------------------- |
|
169 // r_gs_remote_drives_view_caption |
|
170 // |
|
171 // remote drives view caption |
|
172 //---------------------------------------------------- |
|
173 // |
|
174 RESOURCE TBUF r_gs_remote_drives_view_caption |
|
175 { |
|
176 buf = qtn_set_folder_conn_remote_drives; |
|
177 } |
|
178 |
|
179 |
|
180 //------------------------------------------------------------------------------ |
|
181 // |
|
182 // r_gs_menubar_remote_drives_view |
|
183 // Menubar for Remote drive list view. |
|
184 //------------------------------------------------------------------------------ |
|
185 // |
|
186 RESOURCE MENU_BAR r_gs_menubar_remote_drives_view |
|
187 { |
|
188 titles = |
|
189 { |
|
190 MENU_TITLE |
|
191 { |
|
192 menu_pane = r_gs_menu_item_exit; |
|
193 }, |
|
194 MENU_TITLE |
|
195 { |
|
196 menu_pane = r_gs_remote_drives_menu; |
|
197 } |
|
198 }; |
|
199 } |
|
200 |
|
201 //------------------------------------------------------------------------------ |
|
202 // |
|
203 // r_gs_remote_drives_menu |
|
204 // Menu items in Profiles menu. |
|
205 //------------------------------------------------------------------------------ |
|
206 // |
|
207 RESOURCE MENU_PANE r_gs_remote_drives_menu |
|
208 { |
|
209 items= |
|
210 { |
|
211 MENU_ITEM |
|
212 { |
|
213 command = EGSCmdAppChange; |
|
214 txt = qtn_options_change; |
|
215 flags = EEikMenuItemAction; |
|
216 }, |
|
217 MENU_ITEM |
|
218 { |
|
219 command = EGSCmdAppEdit; |
|
220 txt = qtn_rd_opt_edit; |
|
221 flags = EEikMenuItemSpecific; |
|
222 }, |
|
223 MENU_ITEM |
|
224 { |
|
225 command = EGSCmdAppNew; |
|
226 txt = qtn_rd_opt_new_drive; |
|
227 }, |
|
228 MENU_ITEM |
|
229 { |
|
230 command = EGSCmdAppConnect; |
|
231 txt = qtn_rd_opt_connect; |
|
232 flags = EEikMenuItemSpecific; |
|
233 }, |
|
234 MENU_ITEM |
|
235 { |
|
236 command = EGSCmdAppDisconnect; |
|
237 txt = qtn_rd_opt_disconnect; |
|
238 flags = EEikMenuItemSpecific; |
|
239 }, |
|
240 MENU_ITEM |
|
241 { |
|
242 command = EGSCmdAppSendLink; |
|
243 txt = qtn_rd_opt_send_link; |
|
244 flags = EEikMenuItemSpecific; |
|
245 }, |
|
246 MENU_ITEM |
|
247 { |
|
248 command = EGSCmdAppDelete; |
|
249 txt = qtn_rd_opt_delete; |
|
250 flags = EEikMenuItemSpecific; |
|
251 } |
|
252 }; |
|
253 } |
|
254 |
|
255 //------------------------------------------------------------------------------ |
|
256 // |
|
257 // r_gs_rsfw_main_view |
|
258 // RSFW plugin main view. |
|
259 // |
|
260 //------------------------------------------------------------------------------ |
|
261 // |
|
262 RESOURCE AVKON_VIEW r_gs_rsfw_main_view |
|
263 { |
|
264 menubar = r_gs_menubar_remote_drives_view; |
|
265 cba = r_rsfw_softkeys_options_back_edit; |
|
266 } |
|
267 |
|
268 |
|
269 //------------------------------------------------------------------------------ |
|
270 // |
|
271 // r_gs_rsfw_no_remote_drives |
|
272 // Remote Drives view's listbox empty text. |
|
273 // |
|
274 //------------------------------------------------------------------------------ |
|
275 // |
|
276 RESOURCE TBUF r_gs_rsfw_no_remote_drives |
|
277 { |
|
278 buf = qtn_rd_empty_list_primary; |
|
279 } |
|
280 |
|
281 |
|
282 //------------------------------------------------------------------------------ |
|
283 // |
|
284 // r_gs_rsfw_no_remote_drives |
|
285 // Remote Drives view's listbox empty text. |
|
286 // |
|
287 //------------------------------------------------------------------------------ |
|
288 // |
|
289 RESOURCE TBUF r_gs_rsfw_no_remote_drives_explanatory |
|
290 { |
|
291 buf = qtn_rd_empty_list_secondary; |
|
292 } |
|
293 |
|
294 |
|
295 //------------------------------------------------------------------------------ |
|
296 // |
|
297 // r_gs_rsfw_remote_drive_settings_view |
|
298 // Remote drive settings view. |
|
299 // |
|
300 //------------------------------------------------------------------------------ |
|
301 // |
|
302 RESOURCE AVKON_VIEW r_gs_rsfw_remote_drive_settings_view |
|
303 { |
|
304 menubar = r_gs_menubar_change_exit; |
|
305 cba = r_rsfw_softkeys_options_back_change; |
|
306 } |
|
307 |
|
308 |
|
309 RESOURCE CBA r_rsfw_softkeys_options_back_edit |
|
310 { |
|
311 buttons = |
|
312 { |
|
313 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
314 CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, |
|
315 CBA_BUTTON { id = EGSCmdAppEdit; txt = qtn_msk_edit; } |
|
316 }; |
|
317 } |
|
318 |
|
319 RESOURCE CBA r_rsfw_softkeys_options_back_change |
|
320 { |
|
321 buttons = |
|
322 { |
|
323 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
324 CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, |
|
325 CBA_BUTTON { id = EGSCmdAppChange; txt = qtn_msk_change; } |
|
326 }; |
|
327 } |
|
328 |
|
329 RESOURCE CBA r_rsfw_softkeys_options_back_empty |
|
330 { |
|
331 buttons = |
|
332 { |
|
333 CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; }, |
|
334 CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; }, |
|
335 CBA_BUTTON { id = EAknSoftkeyEmpty; txt = text_softkey_empty; } |
|
336 }; |
|
337 } |
|
338 |
|
339 //------------------------------------------------------------------------------ |
|
340 // |
|
341 // r_gs_rsfw_remote_drive_settings_view_title |
|
342 // Remote drives setting view's default title. |
|
343 // |
|
344 //------------------------------------------------------------------------------ |
|
345 // |
|
346 RESOURCE TITLE_PANE r_gs_rsfw_remote_drive_settings_view_title |
|
347 { |
|
348 txt = qtn_rd_title_drives; |
|
349 } |
|
350 |
|
351 // --------------------------------------------------------- |
|
352 // |
|
353 // r_settings |
|
354 // |
|
355 // settings list - collection of all setting types |
|
356 // |
|
357 // --------------------------------------------------------- |
|
358 RESOURCE AVKON_SETTING_ITEM_LIST r_settings |
|
359 { |
|
360 flags = EAknSettingItemIncludeHiddenInOrdinal; |
|
361 title = qtn_rd_title_new_drive; |
|
362 items = |
|
363 { |
|
364 AVKON_SETTING_ITEM |
|
365 { |
|
366 identifier = ESettingItemDriveName; |
|
367 setting_page_resource = r_server_name_editor_page; |
|
368 name = qtn_rd_setting_drive_name; |
|
369 empty_item_text = qtn_rd_default_drive_name; |
|
370 compulsory_ind_string = "*"; |
|
371 }, |
|
372 AVKON_SETTING_ITEM |
|
373 { |
|
374 identifier = ESettingItemURL; |
|
375 setting_page_resource = r_url_editor_page; |
|
376 name = qtn_rd_setting_url; |
|
377 compulsory_ind_string = "*"; |
|
378 }, |
|
379 AVKON_SETTING_ITEM |
|
380 { |
|
381 identifier = ESettingItemAccessPoint; |
|
382 setting_page_resource = r_accesspoint_editor_page; |
|
383 name = qtn_rd_setting_ap; |
|
384 empty_item_text = qtn_netw_conset_sett_always_ask; |
|
385 }, |
|
386 AVKON_SETTING_ITEM |
|
387 { |
|
388 identifier = ESettingItemUserID; |
|
389 setting_page_resource = r_user_id_editor_page; |
|
390 name = qtn_rd_setting_user; |
|
391 }, |
|
392 AVKON_SETTING_ITEM |
|
393 { |
|
394 identifier = ESettingItemPassword; |
|
395 setting_page_resource = r_password_editor_page; |
|
396 name = qtn_rd_setting_pw; |
|
397 } |
|
398 }; |
|
399 } |
|
400 |
|
401 // --------------------------------------------------------- |
|
402 // |
|
403 // Settings Pages |
|
404 // |
|
405 // defines the AVKON_SETTING_PAGE structures referred to in |
|
406 // setting_page_resource fields above. |
|
407 // |
|
408 // These structures define the way in which the editors used |
|
409 // to change the setting data are presented. |
|
410 // |
|
411 // --------------------------------------------------------- |
|
412 // |
|
413 RESOURCE AVKON_SETTING_PAGE r_server_name_editor_page |
|
414 { |
|
415 label= qtn_rd_setting_drive_name; |
|
416 type = EEikCtEdwin; |
|
417 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
418 editor_resource_id = r_server_name_editor; |
|
419 } |
|
420 |
|
421 RESOURCE AVKON_SETTING_PAGE r_url_editor_page |
|
422 { |
|
423 label= qtn_rd_setting_url; |
|
424 type = EEikCtEdwin; |
|
425 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
426 editor_resource_id = r_url_editor; |
|
427 } |
|
428 |
|
429 RESOURCE AVKON_SETTING_PAGE r_accesspoint_editor_page |
|
430 { |
|
431 label= qtn_rd_setting_ap; |
|
432 type = EEikCtEdwin; |
|
433 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
434 editor_resource_id = r_accesspoint_editor; |
|
435 } |
|
436 |
|
437 RESOURCE AVKON_SETTING_PAGE r_user_id_editor_page |
|
438 { |
|
439 label= qtn_rd_setting_user; |
|
440 type = EEikCtEdwin; |
|
441 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
442 editor_resource_id = r_user_id_editor; |
|
443 } |
|
444 |
|
445 RESOURCE AVKON_SETTING_PAGE r_password_editor_page |
|
446 { |
|
447 label= qtn_rd_setting_pw; |
|
448 type = EEikCtSecretEd; |
|
449 softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK; |
|
450 editor_resource_id = r_password_editor; |
|
451 } |
|
452 |
|
453 RESOURCE EDWIN r_user_id_editor |
|
454 { |
|
455 flags = EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks; |
|
456 allowed_case_modes = EAknEditorLowerCase | EAknEditorUpperCase; |
|
457 numeric_keymap=EAknEditorCalculatorNumberModeKeymap; |
|
458 allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode; |
|
459 default_input_mode = EAknEditorTextInputMode; |
|
460 special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG; |
|
461 default_case = EAknEditorLowerCase; |
|
462 avkon_flags = EAknEditorFlagLatinInputModesOnly; |
|
463 width = 0; |
|
464 lines = 0; |
|
465 maxlength = KMaxUserIDLength; |
|
466 } |
|
467 |
|
468 RESOURCE SECRETED r_password_editor |
|
469 { |
|
470 num_letters = KMaxPasswordLength; |
|
471 } |
|
472 |
|
473 RESOURCE EDWIN r_server_address_editor |
|
474 { |
|
475 maxlength = KMaxServerAddressLength; |
|
476 } |
|
477 |
|
478 RESOURCE EDWIN r_accesspoint_editor |
|
479 { |
|
480 maxlength = KMaxAccessPointNameLength; |
|
481 } |
|
482 |
|
483 RESOURCE EDWIN r_server_name_editor |
|
484 { |
|
485 width = 0; |
|
486 lines = 0; |
|
487 flags = EEikEdwinNoLineOrParaBreaks; |
|
488 maxlength = KMaxFriendlyNameLength; |
|
489 } |
|
490 |
|
491 RESOURCE EDWIN r_url_editor |
|
492 { |
|
493 maxlength = KMaxURLLength; |
|
494 numeric_keymap = EAknEditorCalculatorNumberModeKeymap; |
|
495 allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode; |
|
496 default_input_mode = EAknEditorTextInputMode; |
|
497 special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG; |
|
498 allowed_case_modes = EAknEditorLowerCase | EAknEditorUpperCase; |
|
499 default_case = EAknEditorLowerCase; |
|
500 flags = EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks; |
|
501 avkon_flags = EAknEditorFlagLatinInputModesOnly; |
|
502 width = 0; |
|
503 lines = 0; |
|
504 } |
|
505 |
|
506 RESOURCE DIALOG r_confirmation_query |
|
507 { |
|
508 flags = EGeneralQueryFlags; |
|
509 buttons = R_AVKON_SOFTKEYS_YES_NO; |
|
510 items= |
|
511 { |
|
512 DLG_LINE |
|
513 { |
|
514 type = EAknCtQuery; |
|
515 id = EGeneralQuery; |
|
516 control = AVKON_CONFIRMATION_QUERY |
|
517 { |
|
518 layout =EConfirmationQueryLayout; |
|
519 }; |
|
520 } |
|
521 }; |
|
522 } |
|
523 RESOURCE DIALOG r_rsfw_information_note |
|
524 { |
|
525 flags = EAknInformationNoteFlags; |
|
526 buttons = R_AVKON_SOFTKEYS_OK_EMPTY; |
|
527 items = |
|
528 { |
|
529 DLG_LINE |
|
530 { |
|
531 type = EAknCtNote; |
|
532 id = EGeneralNote; |
|
533 control = AVKON_NOTE |
|
534 { |
|
535 // localised string for default text, see Notes UI spec. |
|
536 layout = EGeneralLayout; |
|
537 animation = R_QGN_NOTE_INFO_ANIM; |
|
538 }; |
|
539 } |
|
540 }; |
|
541 } |
|
542 |
|
543 |
|
544 RESOURCE DIALOG r_drive_unavailable_query |
|
545 { |
|
546 flags = EGeneralQueryFlags; |
|
547 buttons = R_AVKON_SOFTKEYS_OK_CANCEL; |
|
548 items= |
|
549 { |
|
550 DLG_LINE |
|
551 { |
|
552 type = EAknCtQuery; |
|
553 id = EGeneralQuery; |
|
554 control = AVKON_CONFIRMATION_QUERY |
|
555 { |
|
556 layout =EConfirmationQueryLayout; |
|
557 }; |
|
558 } |
|
559 }; |
|
560 } |
|
561 |
|
562 //---------------------------------------------------- |
|
563 // |
|
564 // string resouces |
|
565 // the strings can be localized in loc file |
|
566 // |
|
567 //---------------------------------------------------- |
|
568 // |
|
569 RESOURCE TBUF r_str_remote_drive_new_name { buf = qtn_rd_title_new_drive; } |
|
570 RESOURCE TBUF r_str_rsfw_conf_delete { buf = qtn_rd_query_delete_drive; } |
|
571 RESOURCE TBUF r_str_remote_drive_conf_compulsory { buf = qtn_rd_query_incomplete; } |
|
572 RESOURCE TBUF r_str_remote_drives_view_title { buf = qtn_rd_title_drives; } |
|
573 RESOURCE TBUF r_str_remote_drive_name_already_exist { buf = qtn_rd_error_existing_name; } |
|
574 RESOURCE TBUF r_str_rsfw_error_max_drives { buf = qtn_rd_error_max_drives; } |
|
575 RESOURCE TBUF r_str_rsfw_error_edit_connected { buf = qtn_rd_error_edit_connected; } |
|
576 RESOURCE TBUF r_str_rsfw_error_illegal_characters { buf = qtn_fldr_illegal_characters; } |
|
577 RESOURCE TBUF r_str_rsfw_error_illegal_address { buf = qtn_rd_infonote_missing_http_prefix; } |
|
578 RESOURCE TBUF r_str_rsfw_send_credentials_query { buf = qtn_rd_conf_query_send_auth_info; } |
|
579 |
|
580 //End of File |
|