browserutilities/downloadmgr/DownloadMgrUiLib/Data/DownloadMgrUiLib.rss
changeset 0 dd21522fd290
child 1 7c90e6132015
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2002-2004 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 the License "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:  Resources for the UI Lib
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME    DMUL
       
    21 
       
    22 //  INCLUDES
       
    23 #include "DownloadMgrUiLib.hrh"
       
    24 #include <DownloadMgrUiLib.loc>
       
    25 #include <avkon.loc>
       
    26 #include <badef.rh>
       
    27 #include <uikon.rh>
       
    28 #include <eikon.rh>
       
    29 #include <avkon.rh>
       
    30 #include <avkon.hrh>
       
    31 #include <CommonDialogs.rh>
       
    32 #include <avkon.rsg>
       
    33 #include <PathConfiguration.hrh>
       
    34 #include <AvkonIcons.hrh>
       
    35 #include <avkon.mbg>
       
    36 #include <AiwCommon.hrh>
       
    37 #include <AiwCommon.rh>
       
    38 
       
    39 //  RESOURCE DEFINITIONS 
       
    40 
       
    41 RESOURCE RSS_SIGNATURE { }
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 //   
       
    45 // Resources for the download confirmation dialog
       
    46 //
       
    47 // -----------------------------------------------------------------------------
       
    48 //
       
    49 RESOURCE TBUF r_dmul_downloadconf_title { buf = qtn_browser_query_object_info_header; }
       
    50 RESOURCE TBUF r_dmul_downloadconf_name { buf = qtn_browser_query_object_info_name; }
       
    51 RESOURCE TBUF r_dmul_downloadconf_size { buf = qtn_browser_query_object_info_filesize; }
       
    52 RESOURCE TBUF r_dmul_downloadconf_openwith  { buf = qtn_browser_query_object_info_openwith; }
       
    53 RESOURCE TBUF r_dmul_downloadconf_filetype  { buf = qtn_browser_query_object_info_filetype; }
       
    54 RESOURCE TBUF r_dmul_downloadconf_not_supp  { buf = qtn_browser_query_object_info_notsupported; }
       
    55 RESOURCE TBUF r_dmul_downloadconf_unknown   { buf = qtn_browser_query_object_unknown; }
       
    56 RESOURCE TBUF r_dmul_downloadconf_not_enough_mem { buf = qtn_browser_downloads_note_not_enough_memory; }
       
    57 
       
    58 // ============================================================================
       
    59 //Formatter for default name suffix when filename index is under ten.
       
    60 //This is used when generating unused name for files.
       
    61 //When replacing filenumber in filename, the right place is searched
       
    62 //using first character of the string. It must not be a number!
       
    63 //In english versions, this characted is "(".
       
    64 //%N will be replaced with needed number under ten
       
    65 // ============================================================================
       
    66 //
       
    67 RESOURCE TBUF r_qtn_iv_name_suffix_under_ten_formatter { buf = "(0%N)"; }
       
    68 
       
    69 // ============================================================================
       
    70 //Formatter for default name suffix when filename index is ten or more.
       
    71 //This is used when generating unused name for files.
       
    72 //When replacing filenumber in filename, the right place is searched
       
    73 //using first character of the string. It must not be a number!
       
    74 //In english versions, this characted is "(".
       
    75 //%N will be replaced with needed number greater that nine
       
    76 // ============================================================================
       
    77 //
       
    78 RESOURCE TBUF r_qtn_iv_name_suffix_over_ten_formatter { buf = "(%N)"; }
       
    79 
       
    80 // -----------------------------------------------------------------------------
       
    81 //   
       
    82 // Notifications
       
    83 //
       
    84 // -----------------------------------------------------------------------------
       
    85 //
       
    86 // Use this with CUserInteractionsUtils::InfoNoteL(...); set prompt there.
       
    87 RESOURCE DIALOG r_dmul_ok_note
       
    88     {
       
    89     flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar |
       
    90             EEikDialogFlagCbaButtons | EEikDialogFlagWait;
       
    91     items =
       
    92         {
       
    93         DLG_LINE
       
    94             {
       
    95             type = EAknCtNote;
       
    96             id = EGeneralNote;
       
    97             control = AVERELL_NOTE 
       
    98                 { 
       
    99                 layout = EGeneralLayout;
       
   100                 singular_label = "";
       
   101                 plural_label = "";
       
   102                 animation = R_QGN_NOTE_OK_ANIM;
       
   103                 };
       
   104             }
       
   105         };
       
   106     }
       
   107 
       
   108 RESOURCE DIALOG r_dmul_err_note
       
   109     {
       
   110     flags = EEikDialogFlagNoDrag | EEikDialogFlagNoTitleBar |
       
   111             EEikDialogFlagCbaButtons | EEikDialogFlagWait;
       
   112     items =
       
   113         {
       
   114         DLG_LINE
       
   115             {
       
   116             type = EAknCtNote;
       
   117             id = EGeneralNote;
       
   118             control = AVERELL_NOTE 
       
   119                 { 
       
   120                 layout = EGeneralLayout;
       
   121                 singular_label = "";
       
   122                 plural_label = "";
       
   123                 animation = R_QGN_NOTE_WARNING_ANIM;
       
   124                 };
       
   125             }
       
   126         };
       
   127     }
       
   128 
       
   129 RESOURCE TBUF r_dmul_note_downloading { buf = qtn_browser_downloads_downloading; }
       
   130 
       
   131 // -----------------------------------------------------------------------------
       
   132 //   
       
   133 // Completed download confirmation dialog
       
   134 //
       
   135 // -----------------------------------------------------------------------------
       
   136 //
       
   137 RESOURCE TBUF r_dmul_completed_conf { buf = qtn_browser_downloads_query_downloaded; }
       
   138 
       
   139 RESOURCE CBA r_dmul_softkeys_compl_dl
       
   140     {
       
   141     buttons =
       
   142         {
       
   143         CBA_BUTTON { id = EAknSoftkeyShow; txt = qtn_browser_downloads_query_sk_open;},
       
   144         CBA_BUTTON { id = EAknSoftkeyCancel; txt = qtn_browser_downloads_query_sk_later;},
       
   145         CBA_BUTTON { id = EAknSoftkeyShow; txt = qtn_browser_downloads_query_sk_open;}
       
   146         };
       
   147     }
       
   148 
       
   149 RESOURCE CBA r_dmul_softkeys_unsupp_compl_dl
       
   150     {
       
   151     buttons =
       
   152         {
       
   153         CBA_BUTTON { id = EAknSoftkeySave; txt = qtn_browser_downloads_query_sk_save;},
       
   154         CBA_BUTTON { id = EAknSoftkeyCancel; txt = qtn_browser_downloads_query_sk_later;},
       
   155         CBA_BUTTON { id = EAknSoftkeySave; txt = qtn_browser_downloads_query_sk_save;}
       
   156         };
       
   157     }
       
   158 
       
   159 RESOURCE CBA r_dmul_softkeys_compl_drm
       
   160     {
       
   161     buttons =
       
   162         {
       
   163         CBA_BUTTON { id = EAknSoftkeyShow; txt = qtn_browser_downloads_query_sk_open;},
       
   164         CBA_BUTTON { id = EAknSoftkeySave; txt = qtn_browser_downloads_query_sk_save;},
       
   165         CBA_BUTTON { id = EAknSoftkeyShow; txt = qtn_browser_downloads_query_sk_open;}
       
   166         };
       
   167     }
       
   168 
       
   169 RESOURCE CBA r_dmul_softkeys_compl_drm_save
       
   170     {
       
   171     buttons =
       
   172         {
       
   173         CBA_BUTTON { id = EAknSoftkeySave; txt = qtn_browser_downloads_query_sk_save;},
       
   174         CBA_BUTTON { txt = text_softkey_empty;},
       
   175         CBA_BUTTON { id = EAknSoftkeySave; txt = qtn_browser_downloads_query_sk_save;}
       
   176         };
       
   177     }
       
   178 
       
   179 RESOURCE DIALOG r_dmul_compl_download_conf
       
   180     {
       
   181     flags = EGeneralQueryFlags;
       
   182     buttons = r_dmul_softkeys_compl_dl;
       
   183     items =
       
   184         {
       
   185         DLG_LINE
       
   186             {
       
   187             type = EAknCtQuery;
       
   188             id = EGeneralQuery;
       
   189             control = AVKON_CONFIRMATION_QUERY 
       
   190                 { 
       
   191                     layout = EConfirmationQueryLayout;
       
   192                     label = "";
       
   193                 };
       
   194             }
       
   195         };
       
   196     }
       
   197 
       
   198 // -----------------------------------------------------------------------------
       
   199 //   
       
   200 // For Save As dialog
       
   201 //
       
   202 // -----------------------------------------------------------------------------
       
   203 //
       
   204 RESOURCE MEMORYSELECTIONDIALOG r_dmul_memory_selection_dlg
       
   205     {
       
   206     title = "";
       
   207     softkey_1 = text_softkey_select;
       
   208     locations =
       
   209         {
       
   210         LOCATION { root_path = text_phone_memory_root_path; },
       
   211         LOCATION { root_path = text_memory_card_root_path; }
       
   212         };
       
   213     }
       
   214 
       
   215 // -----------------------------------------------------------------------------
       
   216 //   
       
   217 // For Save As dialog
       
   218 //
       
   219 // -----------------------------------------------------------------------------
       
   220 //
       
   221 RESOURCE FILESELECTIONDIALOG r_dmul_file_selection_dlg
       
   222     {
       
   223     title = "";
       
   224     root_path = text_phone_memory_root_path;
       
   225     default_folder = "";
       
   226     }
       
   227 
       
   228 RESOURCE FILESELECTIONDIALOG r_dmul_mmc_file_selection_dlg
       
   229     {
       
   230     title = "";
       
   231     root_path = text_memory_card_root_path;
       
   232     default_folder = "";
       
   233     }
       
   234 
       
   235 // -----------------------------------------------------------------------------
       
   236 //   
       
   237 // Exit confirmation query
       
   238 //
       
   239 // -----------------------------------------------------------------------------
       
   240 //
       
   241 RESOURCE DIALOG r_dmul_exit_conf
       
   242     {
       
   243     flags = EGeneralQueryFlags;
       
   244     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   245     items =
       
   246         {
       
   247         DLG_LINE
       
   248             {
       
   249             type = EAknCtQuery;
       
   250             id = EGeneralQuery;
       
   251             control = AVKON_CONFIRMATION_QUERY 
       
   252                 { 
       
   253                     layout = EConfirmationQueryLayout;
       
   254                     label = "";
       
   255                 };
       
   256             }
       
   257         };
       
   258     }
       
   259 
       
   260 RESOURCE TBUF r_dmul_exit_conf_sing { buf = qtn_browser_downloads_query_download_active; }
       
   261 RESOURCE TBUF r_dmul_exit_conf_plur { buf = qtn_browser_downloads_query_downloads_active; }
       
   262 
       
   263 // -----------------------------------------------------------------------------
       
   264 //   
       
   265 // Grouped Soft Notifications
       
   266 //
       
   267 // -----------------------------------------------------------------------------
       
   268 //
       
   269 RESOURCE AVKON_NOTE r_dmul_gsn_stnd
       
   270     {
       
   271     layout = EGeneralLayout;
       
   272     singular_label = qtn_browser_downloads_query_incomplete;
       
   273     }
       
   274 
       
   275 RESOURCE AVKON_NOTE r_dmul_gsn_emb
       
   276     {
       
   277     layout = EGeneralLayout;
       
   278     singular_label = qtn_browser_downloads_query_moved;
       
   279     }
       
   280 
       
   281 // -----------------------------------------------------------------------------
       
   282 //   
       
   283 // Downloads List
       
   284 //
       
   285 // -----------------------------------------------------------------------------
       
   286 //
       
   287 RESOURCE CBA r_dmul_downloadslist_softkeys_open
       
   288     {
       
   289     buttons =
       
   290         {
       
   291         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
   292         CBA_BUTTON { id = EAknSoftkeyCancel; txt = qtn_browser_downloads_hide; },
       
   293         CBA_BUTTON { id = EAknSoftkeyOpen; txt = qtn_browser_downloads_open; }
       
   294         };
       
   295     }
       
   296         
       
   297 RESOURCE CBA r_dmul_downloadslist_softkeys_play
       
   298     {
       
   299     buttons =
       
   300         {
       
   301         CBA_BUTTON { id = EAknSoftkeyOptions; txt = text_softkey_option; },
       
   302         CBA_BUTTON { id = EAknSoftkeyCancel; txt = qtn_browser_downloads_hide; },
       
   303         CBA_BUTTON { id = EAknSoftkeyOpen; txt = qtn_browser_downloads_play_msk; }
       
   304         };
       
   305     }
       
   306 
       
   307         
       
   308 RESOURCE TBUF r_dmul_downloadslist_header { buf = qtn_browser_downloads_header; }
       
   309 RESOURCE TBUF r_dmul_download_complete { buf = qtn_browser_downloads_complete; }
       
   310 RESOURCE TBUF r_dmul_download_content_saved_to_gallery { buf = qtn_browser_downloads_content_saved_to_gallery; }
       
   311 
       
   312 RESOURCE TBUF r_dmul_download_content_saved_to_downloads_folder { buf =  qtn_dl_saved_to_folder; } 
       
   313 
       
   314 RESOURCE MENU_BAR r_dmul_downloadslist_menubar
       
   315     {
       
   316     titles =
       
   317         {
       
   318         MENU_TITLE { menu_pane = r_dmul_downloadslist_menu; txt = ""; }
       
   319         };
       
   320     }
       
   321 
       
   322 RESOURCE MENU_PANE r_dmul_downloadslist_menu
       
   323     {
       
   324     items =
       
   325         {
       
   326         MENU_ITEM { command = EDownloadsListCmdOpen; txt = qtn_browser_downloads_open; },
       
   327         MENU_ITEM { command = EDownloadsListCmdPlay; txt = qtn_browser_downloads_play; },
       
   328         MENU_ITEM { command = EDownloadsListCmdUseAs; txt = qtn_browser_downloads_use_as; cascade = AIW_CASCADE_ID; },
       
   329         MENU_ITEM { command = EDownloadsListCmdGallery; txt = qtn_browser_downloads_gallery; },
       
   330         MENU_ITEM { command = EDownloadsListCmdSave; txt = qtn_browser_downloads_save; },
       
   331         MENU_ITEM { command = EDownloadsListCmdDelete; txt = qtn_browser_downloads_delete; },
       
   332 //PHAN-6KVK5R: Disallow Manually Pausing a Download    
       
   333 //MENU_ITEM { command = EDownloadsListCmdPause; txt = qtn_browser_downloads_pause; },
       
   334         MENU_ITEM { command = EDownloadsListCmdResume; txt = qtn_browser_downloads_resume; },
       
   335         MENU_ITEM { command = EDownloadsListCmdResumeAll; txt = qtn_browser_downloads_resume_all; },
       
   336         MENU_ITEM { command = EDownloadsListCmdCancel; txt = qtn_browser_downloads_cancel_download; },
       
   337         MENU_ITEM { command = EDownloadsListCmdFileManager; txt =qtn_browser_downloads_open_file_manager;},
       
   338         MENU_ITEM { command = EDownloadsListCmdCancelAll; txt = qtn_browser_downloads_cancel_all; }
       
   339         };
       
   340     }
       
   341 
       
   342 STRUCT DMUL_AIW_INTEREST_MENUPANE_MAPPING_LIST
       
   343     {
       
   344     STRUCT pairs[];
       
   345     }
       
   346 
       
   347 
       
   348 
       
   349 STRUCT DMUL_AIW_INTEREST_MENUPANE_PAIR
       
   350     {
       
   351     LLINK interest;
       
   352     LLINK menupane;
       
   353     }
       
   354 
       
   355 
       
   356 
       
   357 
       
   358     
       
   359 
       
   360 
       
   361 RESOURCE AIW_INTEREST r_dmul_aiw_use_as_interest
       
   362     {
       
   363     items=
       
   364         {
       
   365         AIW_CRITERIA_ITEM
       
   366             {
       
   367             id = EDownloadsListCmdUseAs;
       
   368             serviceCmd = KAiwCmdAssign;
       
   369             contentType = "*";
       
   370             serviceClass = KAiwClassMenu;
       
   371             }
       
   372         };
       
   373     }
       
   374 
       
   375 RESOURCE DMUL_AIW_INTEREST_MENUPANE_MAPPING_LIST r_dmul_aiw_interest_menupane_mappings
       
   376     {
       
   377    pairs =
       
   378         {
       
   379         DMUL_AIW_INTEREST_MENUPANE_PAIR
       
   380             {
       
   381             interest = r_dmul_aiw_use_as_interest;
       
   382             menupane = r_dmul_downloadslist_menu;
       
   383             }
       
   384         };
       
   385     }
       
   386 
       
   387 
       
   388 RESOURCE TBUF r_dmul_download_del_conf { buf = qtn_query_common_conf_delete; } 
       
   389 RESOURCE TBUF r_dmul_download_can_conf { buf = qtn_browser_downloads_query_cancel; }
       
   390 
       
   391 RESOURCE DIALOG r_dmul_download_yesno_conf_q
       
   392     {
       
   393     flags = EGeneralQueryFlags;
       
   394     buttons = R_AVKON_SOFTKEYS_YES_NO__YES; 
       
   395     items =
       
   396         {
       
   397         DLG_LINE
       
   398             {
       
   399             type = EAknCtQuery;
       
   400             id = EGeneralQuery;
       
   401             control = AVKON_CONFIRMATION_QUERY 
       
   402                 { 
       
   403                 layout = EConfirmationQueryLayout;
       
   404                 label = "";
       
   405                 };
       
   406             }
       
   407         };
       
   408     }
       
   409 
       
   410 RESOURCE TBUF r_dmul_unit_kb { buf = qtn_wml_unit_kb; }
       
   411 RESOURCE TBUF r_dmul_unit_mb { buf = qtn_wml_unit_mb; }
       
   412 RESOURCE TBUF r_dmul_unit_percent { buf = qtn_wml_unit_percent; }
       
   413 
       
   414 // -----------------------------------------------------------------------------
       
   415 //   
       
   416 // Download Menu
       
   417 //
       
   418 // -----------------------------------------------------------------------------
       
   419 //
       
   420 RESOURCE TBUF r_dmul_downloadmenu_item_text { buf = qtn_browser_list_downloads; }
       
   421 
       
   422 // -----------------------------------------------------------------------------
       
   423 //   
       
   424 // Error handling
       
   425 //
       
   426 // -----------------------------------------------------------------------------
       
   427 //
       
   428 RESOURCE TBUF r_dmul_error_ext_mem_removed { buf = qtn_browser_downloads_note_ext_memory_removed; }
       
   429 RESOURCE TBUF r_dmul_error_start_from_beginning { buf = qtn_browser_downloads_note_from_beginning; }
       
   430 RESOURCE TBUF r_dmul_error_cancelled { buf = qtn_browser_downloads_note_cancelled; }
       
   431 RESOURCE TBUF r_dmul_error_corrupted { buf = qtn_cd_info_syntax_err; }
       
   432 RESOURCE TBUF r_dmul_error_file_not_found { buf = qtn_browser_error_file_not_found; }
       
   433 
       
   434 RESOURCE DIALOG r_dmul_download_ok_info
       
   435     {
       
   436     flags = EAknInformationNoteFlags;
       
   437     buttons = R_AVKON_SOFTKEYS_OK_EMPTY__OK;
       
   438     items=
       
   439         {
       
   440         DLG_LINE
       
   441             {
       
   442             type = EAknCtNote;
       
   443             id = EGeneralQuery;
       
   444             control = AVKON_NOTE
       
   445                 {
       
   446                 layout = EGeneralLayout;
       
   447                 singular_label = "";
       
   448                 plural_label = "";
       
   449                 imagefile = AVKON_ICON_FILE;
       
   450                 imageid = EMbmAvkonQgn_note_info;
       
   451                 imagemask = EMbmAvkonQgn_note_info_mask;
       
   452                 };
       
   453             }
       
   454         };
       
   455     }
       
   456 
       
   457 // -----------------------------------------------------------------------------
       
   458 //   
       
   459 // Authentication
       
   460 //
       
   461 // -----------------------------------------------------------------------------
       
   462 //
       
   463 RESOURCE TBUF r_dmul_query_basic_authentication { buf = qtn_browser_query_basic_authentication; }
       
   464 RESOURCE TBUF r_dmul_cancel_button { buf = text_softkey_cancel; }
       
   465 RESOURCE TBUF r_dmul_ok_button     { buf = text_softkey_accept; }
       
   466 
       
   467 // End of File
       
   468 
       
   469