codhandler/codui/data/CodUi.rss
changeset 0 dd21522fd290
child 26 cb62a4f66ebe
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2002 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: 
       
    15 *      Resource definitions.   
       
    16 *      
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 // RESOURCE IDENTIFIER
       
    22 
       
    23 NAME CODU
       
    24 
       
    25 // INCLUDES
       
    26 
       
    27 #include <eikon.rh>
       
    28 #include <CodDefs.h>
       
    29 #include "CodUi.hrh"
       
    30 #include <CodViewer.loc>
       
    31 #include "eikon.rsg"
       
    32 #include <avkon.loc>
       
    33 #include <avkon.rsg>
       
    34 #include <avkon.rh>
       
    35 #include <avkon.mbg>
       
    36 #include <appinfo.rh>
       
    37 #include <CommonDialogs.rh>
       
    38 #include <PathConfiguration.hrh>
       
    39 #include <DrmCommon.loc>
       
    40 
       
    41 // RESOURCE DEFINITIONS 
       
    42 
       
    43 RESOURCE RSS_SIGNATURE { }
       
    44 
       
    45 RESOURCE TBUF
       
    46     {
       
    47     buf = "codui";
       
    48     }
       
    49 
       
    50 RESOURCE CBA r_cod_ui_cba_accept_reject
       
    51     {
       
    52     buttons =
       
    53 	    {
       
    54 	    CBA_BUTTON { id = ECodUiCmdAccept; txt = text_softkey_ok; },
       
    55 	    CBA_BUTTON { id = ECodUiCmdReject; txt = text_softkey_cancel; },
       
    56    	    CBA_BUTTON { id = ECodUiCmdAccept; txt = text_softkey_ok; }
       
    57 	    };
       
    58     }
       
    59 
       
    60 RESOURCE CBA r_cod_ui_cba_accept_cancel
       
    61     {
       
    62     buttons =
       
    63 	    {
       
    64 	    CBA_BUTTON { id = EAknSoftkeyOk; txt = text_softkey_accept; },
       
    65 	    CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; },
       
    66 	    CBA_BUTTON { id = EAknSoftkeyOk; txt = ""; }
       
    67 	    };
       
    68     }
       
    69 
       
    70 RESOURCE CBA r_cod_ui_cba_empty_cancel
       
    71     {
       
    72     buttons =
       
    73 	    {
       
    74 	    CBA_BUTTON { id = 0; txt = ""; },
       
    75 	    CBA_BUTTON { id = ECodUiCmdCancel; txt = text_softkey_cancel; }
       
    76 	    };
       
    77     }
       
    78 
       
    79 RESOURCE DIALOG r_cod_ui_wait_note
       
    80     {
       
    81     flags = EAknWaitNoteFlags;
       
    82     buttons = r_cod_ui_cba_empty_cancel;
       
    83     items =
       
    84         {
       
    85         DLG_LINE
       
    86             {
       
    87             type = EAknCtNote;
       
    88             id = EGeneralNote;
       
    89             control = AVKON_NOTE 
       
    90                 { 
       
    91                 layout = EWaitLayout;
       
    92                 singular_label = qtn_cd_wait_downloading;   // Dynamically set runtime.
       
    93                 animation = R_QGN_GRAF_WAIT_BAR_ANIM;
       
    94                 };
       
    95             }
       
    96         };
       
    97     }
       
    98 
       
    99 RESOURCE RTXTED r_cod_ui_rtxed
       
   100     {
       
   101     numlines = 5;
       
   102     textlimit = 10000;
       
   103     flags = EEikEdwinDisplayOnly | EEikEdwinReadOnly;
       
   104     }
       
   105 
       
   106 RESOURCE MEMORYSELECTIONDIALOG r_cod_ui_memory_selection_dlg
       
   107     {
       
   108     title = qtn_cd_header_mem_selec;
       
   109     softkey_1 = text_softkey_select;
       
   110     locations =
       
   111         {
       
   112         LOCATION { root_path = text_phone_memory_root_path; },
       
   113         LOCATION { root_path = text_memory_card_root_path; }
       
   114         };
       
   115     }
       
   116 
       
   117 RESOURCE DIALOG r_cod_ui_cod_view_dialog
       
   118     {
       
   119     flags = EEikDialogFlagNoDrag | EEikDialogFlagFillAppClientRect |
       
   120             EEikDialogFlagButtonsRight | EEikDialogFlagCbaButtons |
       
   121             EEikDialogFlagNoBorder | EEikDialogFlagWait;
       
   122     title = qtn_cd_title;
       
   123     buttons = r_cod_ui_cba_accept_reject;
       
   124     items =
       
   125         {
       
   126         DLG_LINE
       
   127             {
       
   128             type = ECodUiCodView;
       
   129             itemflags = EEikDlgItemTakesEnterKey | EEikDlgItemOfferAllHotKeys;
       
   130             id = ECodUiCtlCodViewRtxEd;
       
   131             control = RTXTED
       
   132                 {
       
   133                 numlines = 5;
       
   134                 textlimit = 10000;
       
   135                 flags = EEikEdwinDisplayOnly | EEikEdwinReadOnly;
       
   136                 };
       
   137             }
       
   138         };
       
   139     }
       
   140 
       
   141 RESOURCE DIALOG r_cod_ui_confirm_note
       
   142     {
       
   143     flags = EAknDialogGenericQueryFlags;
       
   144     buttons = R_AVKON_SOFTKEYS_YES_NO__YES;
       
   145     items =
       
   146         {
       
   147         DLG_LINE
       
   148             {
       
   149             type = EAknCtQuery;
       
   150             id = EGeneralQuery;
       
   151             control = AVKON_CONFIRMATION_QUERY 
       
   152                 { 
       
   153                 layout = EConfirmationQueryLayout;
       
   154                 label = ""; // Dynamically set runtime.
       
   155                 };
       
   156             }
       
   157         };
       
   158     }
       
   159 
       
   160 RESOURCE CBA r_cod_app_cba_register_cancel
       
   161     {
       
   162     buttons =
       
   163 	    {
       
   164       CBA_BUTTON { id = EAknSoftkeyYes; txt = qtn_drm_sk1_register; },
       
   165 	    CBA_BUTTON { id = EAknSoftkeyCancel; txt = text_softkey_cancel; },
       
   166 	    CBA_BUTTON { id = EAknSoftkeyYes; txt = qtn_drm_sk1_register; }
       
   167 	    };
       
   168     }
       
   169 
       
   170 
       
   171     
       
   172 RESOURCE DIALOG r_cod_registercancel_query
       
   173         {
       
   174         flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
       
   175         buttons = r_cod_app_cba_register_cancel;
       
   176         items=
       
   177             {
       
   178             DLG_LINE
       
   179                 {
       
   180                 type = EAknCtPopupHeadingPane;
       
   181                 id = EAknMessageQueryHeaderId;
       
   182                 control = AVKON_HEADING
       
   183                     {
       
   184                     headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
       
   185                     };
       
   186                 },
       
   187             DLG_LINE
       
   188                 {
       
   189                 type = EAknCtMessageQuery;
       
   190                 id = EAknMessageQueryContentId;
       
   191                 control = AVKON_MESSAGE_QUERY
       
   192                     {
       
   193                     };
       
   194                 }
       
   195             };
       
   196         }
       
   197 
       
   198 RESOURCE TBUF r_qtn_cd_title
       
   199     { buf = qtn_cd_title; }
       
   200 
       
   201 RESOURCE TBUF r_qtn_cd_value_undefined
       
   202     { buf = qtn_cd_value_undefined; }
       
   203 
       
   204 RESOURCE TBUF r_qtn_cd_detail_name
       
   205     { buf = qtn_cd_detail_name; }
       
   206 
       
   207 RESOURCE TBUF r_qtn_cd_detail_price
       
   208     { buf = qtn_cd_detail_price; }
       
   209 
       
   210 RESOURCE TBUF r_qtn_cd_detail_descript
       
   211     { buf = qtn_cd_detail_descript; }
       
   212 
       
   213 RESOURCE TBUF r_qtn_cd_detail_size
       
   214     { buf = qtn_cd_detail_size; }
       
   215 
       
   216 RESOURCE TBUF r_qtn_cd_detail_vendor
       
   217     { buf = qtn_cd_detail_vendor; }
       
   218 
       
   219 RESOURCE TBUF r_qtn_cd_detail_type
       
   220     { buf = qtn_cd_detail_type; }
       
   221 
       
   222 // Content types
       
   223 
       
   224 RESOURCE TBUF r_qtn_cd_type_not_classified
       
   225     { buf = qtn_cd_type_not_classified; }
       
   226 
       
   227 RESOURCE TBUF r_qtn_cd_type_sound
       
   228     { buf = qtn_cd_type_sound; }
       
   229 
       
   230 RESOURCE TBUF r_qtn_cd_type_rtone
       
   231     { buf = qtn_cd_type_rtone; }
       
   232 
       
   233 RESOURCE TBUF r_qtn_cd_type_picture_message
       
   234     { buf = qtn_cd_type_picture_message; }
       
   235 
       
   236 RESOURCE TBUF r_qtn_cd_type_operator_logo
       
   237     { buf = qtn_cd_type_operator_logo; }
       
   238 
       
   239 RESOURCE TBUF r_qtn_cd_type_image
       
   240     { buf = qtn_cd_type_image; }
       
   241 
       
   242 RESOURCE TBUF r_qtn_cd_type_game_level
       
   243     { buf = qtn_cd_type_game_level; }
       
   244 
       
   245 RESOURCE TBUF r_qtn_cd_type_game
       
   246     { buf = qtn_cd_type_game; }
       
   247 
       
   248 RESOURCE TBUF r_qtn_cd_type_document
       
   249     { buf = qtn_cd_type_document; }
       
   250 
       
   251 RESOURCE TBUF r_qtn_cd_type_vcard
       
   252     { buf = qtn_cd_type_vcard; }
       
   253 
       
   254 RESOURCE TBUF r_qtn_cd_type_application
       
   255     { buf = qtn_cd_type_application; }
       
   256 
       
   257 // Wait note texts
       
   258 
       
   259 RESOURCE TBUF r_qtn_cd_wait_downloading
       
   260     { buf = qtn_cd_wait_downloading; }
       
   261 
       
   262 RESOURCE TBUF r_qtn_cd_wait_reject
       
   263     { buf = qtn_cd_wait_reject; }
       
   264 
       
   265 RESOURCE TBUF r_qtn_cd_wait_please_wait
       
   266     { buf = qtn_cd_wait_please_wait; }
       
   267 
       
   268 // Error messages
       
   269 
       
   270 RESOURCE TBUF r_qtn_cd_info_no_valid_ap
       
   271     { buf = qtn_cd_info_no_valid_ap; }
       
   272 
       
   273 RESOURCE TBUF r_qtn_cd_info_generic_error
       
   274     { buf = qtn_cd_info_generic_error; }
       
   275 
       
   276 //RESOURCE TBUF r_text_wml_err_conn_timeout
       
   277 //    { buf = text_wml_err_conn_timeout; }
       
   278 
       
   279 RESOURCE TBUF r_qtn_cd_info_unsupp_mime_type
       
   280     { buf = qtn_cd_info_unsupp_mime_type; }
       
   281 
       
   282 RESOURCE TBUF r_qtn_cd_info_file_too_large
       
   283     { buf = qtn_cd_info_file_too_large; }
       
   284 
       
   285 RESOURCE TBUF r_qtn_cd_info_unknown_type
       
   286     { buf = qtn_cd_info_unknown_type; }
       
   287 
       
   288 RESOURCE TBUF r_qtn_cd_info_syntax_err
       
   289     { buf = qtn_cd_info_syntax_err; }
       
   290 
       
   291 RESOURCE TBUF r_qtn_fldr_file_saved_to
       
   292     { buf = qtn_fldr_file_saved_to; }
       
   293 
       
   294 RESOURCE TBUF r_qtn_cd_query_download_complete
       
   295     { buf = qtn_cd_query_download_complete; }
       
   296 
       
   297 RESOURCE TBUF r_qtn_drm_msq_qry_title_registrat
       
   298     { buf = qtn_drm_msq_qry_title_registrat; }
       
   299   
       
   300 RESOURCE TBUF r_qtn_browser_downloads_unsupported_content_query
       
   301     { buf = qtn_browser_downloads_unsupported_content_query;}    
       
   302     
       
   303 
       
   304 RESOURCE TBUF r_qtn_cd_info_not_enough_mem
       
   305     { buf = qtn_cd_info_not_enough_mem; }
       
   306     
       
   307 //
       
   308 // ROAP related resources
       
   309 //
       
   310 
       
   311 // Wait note texts
       
   312 
       
   313 RESOURCE TBUF r_qtn_drm_wait_registering_device
       
   314     { buf = qtn_drm_wait_registering_device; }
       
   315 
       
   316 RESOURCE TBUF r_qtn_drm_wait_joining_domain
       
   317     { buf = qtn_drm_wait_joining_domain; }
       
   318 
       
   319 RESOURCE TBUF r_qtn_drm_wait_getting_key
       
   320     { buf = qtn_drm_wait_getting_key; }
       
   321 
       
   322 RESOURCE TBUF r_qtn_drm_wait_updating_account
       
   323     { buf = qtn_drm_wait_updating_account; }
       
   324 
       
   325 RESOURCE TBUF r_qtn_drm_wait_remove_fr_account
       
   326     { buf = qtn_drm_wait_remove_fr_account; }
       
   327 
       
   328 RESOURCE TBUF r_qtn_browser_downloads_waiting_for_license
       
   329     { buf = qtn_browser_downloads_waiting_for_license; }
       
   330 
       
   331 // Messages
       
   332 
       
   333 RESOURCE TBUF r_qtn_drm_conf_joined_to_domain
       
   334     { buf = qtn_drm_conf_joined_to_domain; }
       
   335     
       
   336 RESOURCE TBUF r_qtn_drm_info_act_key_received
       
   337     { buf = qtn_drm_info_act_key_received; }
       
   338 
       
   339 RESOURCE TBUF r_qtn_drm_query_key_received_open
       
   340     { buf = qtn_drm_query_key_received_open; }
       
   341 
       
   342 RESOURCE TBUF r_qtn_drm_conf_account_updated
       
   343     { buf = qtn_drm_conf_account_updated; }
       
   344 
       
   345 RESOURCE TBUF r_qtn_drm_info_remove_fr_account
       
   346     { buf = qtn_drm_info_remove_fr_account; }
       
   347 
       
   348 RESOURCE TBUF r_qtn_drm_conf_device_registered
       
   349     { buf = qtn_drm_conf_device_registered; }
       
   350 
       
   351 RESOURCE TBUF r_qtn_drm_info_getting_key_failed
       
   352     { buf = qtn_drm_info_getting_key_failed; }
       
   353 
       
   354 RESOURCE TBUF r_qtn_drm_get_key_failed_retry
       
   355     { buf = qtn_drm_get_key_failed_retry; }
       
   356 
       
   357 RESOURCE TBUF r_qtn_drm_info_update_domain_fail
       
   358     { buf = qtn_drm_info_update_domain_fail; }
       
   359 
       
   360 RESOURCE TBUF r_qtn_drm_info_account_is_full
       
   361     { buf = qtn_drm_info_account_is_full; }
       
   362 
       
   363 RESOURCE TBUF r_qtn_drm_remove_fr_account_fail
       
   364     { buf = qtn_drm_remove_fr_account_fail; }
       
   365 
       
   366 RESOURCE TBUF r_qtn_drm_info_device_regist_fail
       
   367     { buf = qtn_drm_info_device_regist_fail; }
       
   368 
       
   369 RESOURCE TBUF r_qtn_drm_info_registration_failed
       
   370     { buf = qtn_drm_info_registration_failed; }
       
   371 
       
   372 RESOURCE TBUF r_qtn_drm_account_not_recognised
       
   373     { buf = qtn_drm_account_not_recognised; }
       
   374 
       
   375 RESOURCE TBUF r_qtn_drm_query_register_with_u
       
   376     { buf = qtn_drm_query_register_with_u; }
       
   377 
       
   378 RESOURCE TBUF r_qtn_drm_query_register_with_cp
       
   379     { buf = qtn_drm_query_register_with_cp; }
       
   380 
       
   381 RESOURCE TBUF r_qtn_drm_msq_query_registration
       
   382     { buf = qtn_drm_msq_query_registration; }
       
   383 
       
   384 RESOURCE TBUF r_qtn_drm_msq_query_link_more_inf
       
   385     { buf = qtn_drm_msq_query_link_more_inf; }