remotestoragefw/gsplugin/data/rsfwgspluginrsc.rss
changeset 0 3ad9d5175a89
child 1 1c07d7ba3e3d
equal deleted inserted replaced
-1:000000000000 0:3ad9d5175a89
       
     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             },
       
   216         MENU_ITEM 
       
   217             {
       
   218             command = EGSCmdAppEdit;
       
   219             txt = qtn_rd_opt_edit; 
       
   220             },
       
   221         MENU_ITEM
       
   222             {
       
   223             command = EGSCmdAppNew;
       
   224             txt = qtn_rd_opt_new_drive;
       
   225             },
       
   226         MENU_ITEM
       
   227             {
       
   228             command = EGSCmdAppConnect;
       
   229             txt = qtn_rd_opt_connect;
       
   230             },
       
   231         MENU_ITEM
       
   232             {
       
   233             command = EGSCmdAppDisconnect;
       
   234             txt = qtn_rd_opt_disconnect;
       
   235             },
       
   236         MENU_ITEM
       
   237             {
       
   238             command = EGSCmdAppSendLink;
       
   239             txt = qtn_rd_opt_send_link;
       
   240             },            
       
   241         MENU_ITEM
       
   242             {
       
   243             command = EGSCmdAppDelete;
       
   244             txt = qtn_rd_opt_delete;
       
   245             }       
       
   246         };
       
   247     }
       
   248 
       
   249 //------------------------------------------------------------------------------
       
   250 //   
       
   251 //    r_gs_rsfw_main_view
       
   252 //    RSFW plugin main view.
       
   253 //
       
   254 //------------------------------------------------------------------------------
       
   255 //
       
   256 RESOURCE AVKON_VIEW r_gs_rsfw_main_view
       
   257     {
       
   258     menubar = r_gs_menubar_remote_drives_view;  
       
   259     cba = r_rsfw_softkeys_options_back_edit;    
       
   260     }
       
   261       
       
   262 
       
   263 //------------------------------------------------------------------------------
       
   264 //   
       
   265 //    r_gs_rsfw_no_remote_drives
       
   266 //    Remote Drives view's listbox empty text.
       
   267 //
       
   268 //------------------------------------------------------------------------------
       
   269 //
       
   270 RESOURCE TBUF r_gs_rsfw_no_remote_drives
       
   271     {
       
   272     buf = qtn_rd_empty_list_primary;        
       
   273     }
       
   274     
       
   275  
       
   276 //------------------------------------------------------------------------------
       
   277 //   
       
   278 //    r_gs_rsfw_no_remote_drives
       
   279 //    Remote Drives view's listbox empty text.
       
   280 //
       
   281 //------------------------------------------------------------------------------
       
   282 //
       
   283 RESOURCE TBUF r_gs_rsfw_no_remote_drives_explanatory
       
   284     {
       
   285     buf = qtn_rd_empty_list_secondary;        
       
   286     }
       
   287      
       
   288  
       
   289 //------------------------------------------------------------------------------
       
   290 //   
       
   291 //    r_gs_rsfw_remote_drive_settings_view
       
   292 //    Remote drive settings view.
       
   293 //
       
   294 //------------------------------------------------------------------------------
       
   295 //
       
   296 RESOURCE AVKON_VIEW r_gs_rsfw_remote_drive_settings_view
       
   297     {
       
   298     menubar = r_gs_menubar_change_exit;  
       
   299     cba = r_rsfw_softkeys_options_back_change;    
       
   300     }
       
   301 
       
   302 
       
   303 RESOURCE CBA r_rsfw_softkeys_options_back_edit
       
   304     {
       
   305     buttons = 
       
   306         {
       
   307         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
   308         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
   309         CBA_BUTTON { id = EGSCmdAppEdit; txt = qtn_msk_edit; }
       
   310         };
       
   311     }
       
   312     
       
   313 RESOURCE CBA r_rsfw_softkeys_options_back_change
       
   314     {
       
   315     buttons = 
       
   316         {
       
   317         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
   318         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
   319         CBA_BUTTON { id = EGSCmdAppChange; txt = qtn_msk_change; }
       
   320         };
       
   321     } 
       
   322     
       
   323 RESOURCE CBA r_rsfw_softkeys_options_back_empty
       
   324 		{    
       
   325   	buttons =
       
   326   			{
       
   327   			CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
   328         CBA_BUTTON { id = EAknSoftkeyBack; txt = text_softkey_back; },
       
   329         CBA_BUTTON { id = EAknSoftkeyEmpty; txt = text_softkey_empty; }
       
   330   			};
       
   331   	}
       
   332     
       
   333 //------------------------------------------------------------------------------
       
   334 //   
       
   335 //    r_gs_rsfw_remote_drive_settings_view_title
       
   336 //    Remote drives setting view's default title.
       
   337 //
       
   338 //------------------------------------------------------------------------------
       
   339 //
       
   340 RESOURCE TITLE_PANE r_gs_rsfw_remote_drive_settings_view_title
       
   341     {
       
   342     txt = qtn_rd_title_drives;        
       
   343     }
       
   344     
       
   345 // ---------------------------------------------------------
       
   346 //   
       
   347 // r_settings
       
   348 //
       
   349 // settings list - collection of all setting types
       
   350 //   
       
   351 // ---------------------------------------------------------
       
   352 RESOURCE AVKON_SETTING_ITEM_LIST r_settings
       
   353     {
       
   354     flags = EAknSettingItemIncludeHiddenInOrdinal;
       
   355     title = qtn_rd_title_new_drive;
       
   356     items = 
       
   357         {
       
   358         AVKON_SETTING_ITEM
       
   359             {
       
   360             identifier = ESettingItemDriveName;
       
   361             setting_page_resource = r_server_name_editor_page;
       
   362             name = qtn_rd_setting_drive_name;
       
   363             empty_item_text = qtn_rd_default_drive_name;
       
   364             compulsory_ind_string = "*";
       
   365             },
       
   366        AVKON_SETTING_ITEM
       
   367             {
       
   368             identifier = ESettingItemURL;
       
   369             setting_page_resource = r_url_editor_page;
       
   370             name = qtn_rd_setting_url;
       
   371             compulsory_ind_string = "*";
       
   372             },
       
   373         AVKON_SETTING_ITEM
       
   374             {
       
   375             identifier = ESettingItemAccessPoint;
       
   376             setting_page_resource = r_accesspoint_editor_page;
       
   377             name = qtn_rd_setting_ap;
       
   378             empty_item_text = qtn_netw_conset_sett_always_ask;
       
   379             },            
       
   380         AVKON_SETTING_ITEM
       
   381             {
       
   382             identifier = ESettingItemUserID;
       
   383             setting_page_resource = r_user_id_editor_page;
       
   384             name = qtn_rd_setting_user;
       
   385             },
       
   386         AVKON_SETTING_ITEM
       
   387             {
       
   388             identifier = ESettingItemPassword;
       
   389             setting_page_resource = r_password_editor_page;
       
   390             name = qtn_rd_setting_pw;
       
   391             }
       
   392         };
       
   393     }
       
   394     
       
   395 // ---------------------------------------------------------
       
   396 //   
       
   397 // Settings Pages
       
   398 //
       
   399 // defines the AVKON_SETTING_PAGE structures referred to in 
       
   400 // setting_page_resource fields above.
       
   401 // 
       
   402 // These structures define the way in which the editors used
       
   403 // to change the setting data are presented.
       
   404 // 
       
   405 // ---------------------------------------------------------
       
   406 //   
       
   407 RESOURCE AVKON_SETTING_PAGE r_server_name_editor_page
       
   408     {
       
   409     label= qtn_rd_setting_drive_name;
       
   410     type = EEikCtEdwin;
       
   411     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   412     editor_resource_id = r_server_name_editor;
       
   413     }
       
   414   
       
   415 RESOURCE AVKON_SETTING_PAGE r_url_editor_page
       
   416     {
       
   417     label= qtn_rd_setting_url;
       
   418     type = EEikCtEdwin;
       
   419     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   420     editor_resource_id = r_url_editor;
       
   421     }  
       
   422 
       
   423 RESOURCE AVKON_SETTING_PAGE r_accesspoint_editor_page
       
   424     {
       
   425     label= qtn_rd_setting_ap;
       
   426     type = EEikCtEdwin;
       
   427     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   428     editor_resource_id = r_accesspoint_editor;
       
   429     }
       
   430       
       
   431 RESOURCE AVKON_SETTING_PAGE r_user_id_editor_page
       
   432     {
       
   433     label= qtn_rd_setting_user;
       
   434     type = EEikCtEdwin;
       
   435     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   436     editor_resource_id = r_user_id_editor;
       
   437     }
       
   438   
       
   439 RESOURCE AVKON_SETTING_PAGE r_password_editor_page
       
   440     {
       
   441     label= qtn_rd_setting_pw;
       
   442     type = EEikCtSecretEd;
       
   443     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   444     editor_resource_id = r_password_editor;
       
   445     }    
       
   446     
       
   447 RESOURCE EDWIN r_user_id_editor
       
   448     {
       
   449     flags = EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks;
       
   450     allowed_case_modes = EAknEditorLowerCase | EAknEditorUpperCase;
       
   451     numeric_keymap=EAknEditorCalculatorNumberModeKeymap;
       
   452     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   453     default_input_mode = EAknEditorTextInputMode;
       
   454     special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG;
       
   455     default_case = EAknEditorLowerCase;
       
   456     avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   457     width = 0;
       
   458     lines = 0;
       
   459     maxlength = KMaxUserIDLength;
       
   460     }
       
   461   
       
   462 RESOURCE SECRETED r_password_editor
       
   463     {
       
   464     num_letters = KMaxPasswordLength;
       
   465     }
       
   466 
       
   467 RESOURCE EDWIN r_server_address_editor
       
   468     {
       
   469     maxlength = KMaxServerAddressLength;
       
   470     }
       
   471   
       
   472 RESOURCE EDWIN r_accesspoint_editor
       
   473     {
       
   474     maxlength = KMaxAccessPointNameLength;
       
   475     }
       
   476   
       
   477 RESOURCE EDWIN r_server_name_editor
       
   478     {
       
   479     width = 0;
       
   480     lines = 0;
       
   481     flags = EEikEdwinNoLineOrParaBreaks;
       
   482     maxlength = KMaxFriendlyNameLength;
       
   483     }
       
   484   
       
   485 RESOURCE EDWIN r_url_editor
       
   486     {
       
   487     maxlength = KMaxURLLength;
       
   488     numeric_keymap = EAknEditorCalculatorNumberModeKeymap;
       
   489     allowed_input_modes = EAknEditorTextInputMode | EAknEditorNumericInputMode;
       
   490     default_input_mode = EAknEditorTextInputMode;
       
   491     special_character_table = R_AVKON_URL_SPECIAL_CHARACTER_TABLE_DIALOG;
       
   492     allowed_case_modes = EAknEditorLowerCase | EAknEditorUpperCase;
       
   493     default_case = EAknEditorLowerCase;
       
   494     flags = EEikEdwinAutoSelection | EAknEditorLowerCase | EEikEdwinNoLineOrParaBreaks;
       
   495     avkon_flags = EAknEditorFlagLatinInputModesOnly;
       
   496     width = 0;
       
   497     lines = 0;
       
   498     }    
       
   499     
       
   500 RESOURCE DIALOG r_confirmation_query
       
   501     {
       
   502     flags = EGeneralQueryFlags;
       
   503     buttons = R_AVKON_SOFTKEYS_YES_NO;
       
   504     items=
       
   505         {
       
   506         DLG_LINE 
       
   507             {
       
   508             type = EAknCtQuery;
       
   509             id = EGeneralQuery;
       
   510             control = AVKON_CONFIRMATION_QUERY
       
   511                 {
       
   512                 layout =EConfirmationQueryLayout;
       
   513                 };
       
   514             }
       
   515         };
       
   516     }  
       
   517 RESOURCE DIALOG r_rsfw_information_note
       
   518     {
       
   519     flags =  EAknInformationNoteFlags;
       
   520     buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
   521     items =
       
   522         {
       
   523         DLG_LINE
       
   524             {
       
   525             type = EAknCtNote;
       
   526             id = EGeneralNote;
       
   527             control = AVKON_NOTE
       
   528                 {
       
   529                 // localised string for default text, see Notes UI spec.
       
   530                 layout = EGeneralLayout;
       
   531                 animation = R_QGN_NOTE_INFO_ANIM;
       
   532                 };
       
   533             }
       
   534         };
       
   535     }
       
   536     
       
   537     
       
   538 RESOURCE DIALOG r_drive_unavailable_query
       
   539     {
       
   540     flags = EGeneralQueryFlags;
       
   541     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
       
   542     items=
       
   543         {
       
   544         DLG_LINE 
       
   545             {
       
   546             type = EAknCtQuery;
       
   547             id = EGeneralQuery;
       
   548             control = AVKON_CONFIRMATION_QUERY
       
   549                 {
       
   550                 layout =EConfirmationQueryLayout;
       
   551                 };
       
   552             }
       
   553         };
       
   554     }      
       
   555     
       
   556 //----------------------------------------------------
       
   557 //   
       
   558 //    string resouces
       
   559 //    the strings can be localized in loc file
       
   560 //
       
   561 //----------------------------------------------------
       
   562 //    
       
   563 RESOURCE TBUF r_str_remote_drive_new_name { buf = qtn_rd_title_new_drive; }
       
   564 RESOURCE TBUF r_str_rsfw_conf_delete { buf = qtn_rd_query_delete_drive; }
       
   565 RESOURCE TBUF r_str_remote_drive_conf_compulsory { buf = qtn_rd_query_incomplete; }
       
   566 RESOURCE TBUF r_str_remote_drives_view_title { buf = qtn_rd_title_drives; }
       
   567 RESOURCE TBUF r_str_remote_drive_name_already_exist { buf = qtn_rd_error_existing_name; }
       
   568 RESOURCE TBUF r_str_rsfw_error_max_drives { buf = qtn_rd_error_max_drives; }
       
   569 RESOURCE TBUF r_str_rsfw_error_edit_connected { buf = qtn_rd_error_edit_connected; }
       
   570 RESOURCE TBUF r_str_rsfw_error_illegal_characters { buf = qtn_fldr_illegal_characters; }
       
   571 RESOURCE TBUF r_str_rsfw_error_illegal_address { buf = qtn_rd_infonote_missing_http_prefix; }
       
   572 RESOURCE TBUF r_str_rsfw_send_credentials_query { buf = qtn_rd_conf_query_send_auth_info; }
       
   573     
       
   574 //End of File