commondrm/drmsettingsplugin/data/drmsettingspluginrsc.rss
changeset 31 908beac81e0a
parent 29 3bdc3b853094
child 34 7f8fbd0317cc
child 38 9dfde139acda
child 44 d642c9180c54
equal deleted inserted replaced
29:3bdc3b853094 31:908beac81e0a
     1 /*
       
     2 * Copyright (c) 2006 - 2007 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 DRMSettinsPlugin
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 //  RESOURCE IDENTIFIER
       
    21 NAME    DRMS // 4 letter ID
       
    22 
       
    23 //  INCLUDES
       
    24 #include    <eikon.rh>
       
    25 #include    <uikon.rh>
       
    26 #include    <avkon.rsg>
       
    27 #include    <avkon.rh>
       
    28 #include    <avkon.mbg>
       
    29 #include    <EIKCORE.rsg>
       
    30 #include    <eikon.rsg>
       
    31 #include    <appinfo.rh>
       
    32 #include    <avkon.loc>
       
    33 #include    <AvkonIcons.hrh>
       
    34 #include    <data_caging_paths_strings.hrh>
       
    35 #include    <gs.loc>
       
    36 #include    <drmsettingsplugin.loc>
       
    37 
       
    38 #include    "drmsettingsplugin.hrh"
       
    39 #include    "drmsettingsplugin.rh"
       
    40 
       
    41 
       
    42 // CONSTANTS
       
    43 
       
    44 //  RESOURCE DEFINITIONS
       
    45 
       
    46 RESOURCE RSS_SIGNATURE
       
    47     {
       
    48     }
       
    49 
       
    50 
       
    51 RESOURCE TBUF
       
    52     {
       
    53     buf="DRMS";
       
    54     }
       
    55 
       
    56 //----------------------------------------------------
       
    57 //
       
    58 //    EIK_APP_INFO
       
    59 //    It contains application information.
       
    60 //
       
    61 //----------------------------------------------------
       
    62 //
       
    63 RESOURCE EIK_APP_INFO
       
    64     {
       
    65     }
       
    66 
       
    67 
       
    68 
       
    69 //----------------------------------------------------
       
    70 //  r_drm_settings_view_caption
       
    71 //
       
    72 // Caption for DRM Settings plugin
       
    73 //----------------------------------------------------
       
    74 //
       
    75 RESOURCE TBUF r_drm_settings_view_caption
       
    76     {
       
    77     buf = qtn_set_protected_content;
       
    78     }
       
    79 
       
    80 
       
    81 //----------------------------------------------------
       
    82 //
       
    83 //    r_drm_settings_view_title
       
    84 //    Title of DRM Settings view
       
    85 //
       
    86 //----------------------------------------------------
       
    87 //
       
    88 RESOURCE TITLE_PANE r_drm_settings_view_title
       
    89     {
       
    90     txt = qtn_set_protected_content;
       
    91     }
       
    92 
       
    93 
       
    94 //----------------------------------------------------
       
    95 //
       
    96 //    r_drm_softkeys_options_back_change
       
    97 //    Text association with MSK ( CHANGE )
       
    98 //
       
    99 //----------------------------------------------------
       
   100 //
       
   101 RESOURCE CBA r_drm_softkeys_options_back_change
       
   102     {
       
   103     buttons =
       
   104         {
       
   105         CBA_BUTTON
       
   106             {
       
   107             id=EAknSoftkeyOptions;
       
   108             txt = text_softkey_option;
       
   109             },
       
   110         CBA_BUTTON
       
   111             {
       
   112             id=EAknSoftkeyBack;
       
   113             txt = text_softkey_back;
       
   114             },
       
   115         CBA_BUTTON
       
   116             {
       
   117             id=EDRMSettingsCmdAppChangeMSK;
       
   118             txt = qtn_msk_change;
       
   119             }
       
   120         };
       
   121     }
       
   122 
       
   123 
       
   124 
       
   125 
       
   126 //----------------------------------------------------
       
   127 //
       
   128 //    r_drm_settings_view
       
   129 //    DRM Settings view.
       
   130 //
       
   131 //----------------------------------------------------
       
   132 //
       
   133 RESOURCE AVKON_VIEW r_drm_settings_view
       
   134     {
       
   135     menubar = r_drm_settings_menubar_change_exit;
       
   136     cba = r_drm_softkeys_options_back_change;
       
   137     }
       
   138 
       
   139 
       
   140 // -----------------------------------------------------------------------------
       
   141 //
       
   142 // r_drm_settings_menubar_change_exit
       
   143 // Menu with 'change' and 'exit' items.
       
   144 //
       
   145 // -----------------------------------------------------------------------------
       
   146 //
       
   147 RESOURCE MENU_BAR r_drm_settings_menubar_change_exit
       
   148     {
       
   149     titles =
       
   150         {
       
   151         MENU_TITLE
       
   152             {
       
   153             menu_pane = r_drm_settings_menu_item_exit;
       
   154             },
       
   155         MENU_TITLE
       
   156             {
       
   157             menu_pane = r_drm_settings_menu_item_change;
       
   158             }
       
   159         };
       
   160     }
       
   161 
       
   162 
       
   163     // -----------------------------------------------------------------------------
       
   164     //
       
   165     // r_drm_settings_menu_item_exit
       
   166     // Options menu items 'Help' and 'Exit'. Used instead of plain 'Exit' when help
       
   167     // is wanted to be shown in UI.
       
   168     //
       
   169     // -----------------------------------------------------------------------------
       
   170     //
       
   171     RESOURCE MENU_PANE r_drm_settings_menu_item_exit
       
   172         {
       
   173         items =
       
   174             {
       
   175             MENU_ITEM
       
   176                 {
       
   177                 command = EAknCmdHelp;
       
   178                 txt = qtn_options_help;
       
   179                 },
       
   180             MENU_ITEM
       
   181                 {
       
   182                 command = EAknCmdExit;
       
   183                 txt = qtn_options_exit;
       
   184                 }
       
   185             };
       
   186         }
       
   187 
       
   188 
       
   189 // -----------------------------------------------------------------------------
       
   190 //
       
   191 // r_drm_settings_menu_item_change
       
   192 // Change item.
       
   193 //
       
   194 // -----------------------------------------------------------------------------
       
   195 //
       
   196 RESOURCE MENU_PANE r_drm_settings_menu_item_change
       
   197     {
       
   198     items =
       
   199         {
       
   200         MENU_ITEM
       
   201             {
       
   202             command = EDRMSettingsCmdAppChange;
       
   203             txt = qtn_set_options_change;
       
   204             flags = EEikMenuItemAction;
       
   205             }
       
   206         };
       
   207     }
       
   208 
       
   209 
       
   210 //----------------------------------------------------
       
   211 //
       
   212 //    r_drm_settings_lbx
       
   213 //    DRM Settings view's listbox.
       
   214 //
       
   215 //----------------------------------------------------
       
   216 //
       
   217 RESOURCE DRM_SETTINGS_FEATURE_ARRAY r_drm_settings_lbx
       
   218     {
       
   219     items =
       
   220         {
       
   221 #ifdef __DRM_OMA2
       
   222 #ifdef RD_DRM_SILENT_RIGHTS_ACQUISITION
       
   223         DRM_SETTINGS_FEATURE
       
   224             {
       
   225             txt = " \t"qtn_set_automatic_activation"\t\t";
       
   226             item = EDRMSettingsIdAutomaticActivation;
       
   227             },
       
   228 #endif // RD_DRM_SILENT_RIGHTS_ACQUISITION
       
   229 
       
   230 #ifdef RD_DRM_METERING
       
   231         DRM_SETTINGS_FEATURE
       
   232             {
       
   233             txt = " \t"qtn_drm_set_usage_reporting"\t\t";
       
   234             item = EDRMSettingsIdUsageReporting;
       
   235             },
       
   236 #endif // RD_DRM_METERING
       
   237 
       
   238         DRM_SETTINGS_FEATURE
       
   239             {
       
   240             txt = " \t"qtn_set_transaction_tracking"\t\t";
       
   241             item = EDRMSettingsIdTransactionTracking;
       
   242             },
       
   243 #endif // __DRM_OMA2
       
   244 
       
   245         DRM_SETTINGS_FEATURE
       
   246             {
       
   247             txt = " \t"qtn_drm_set_license_deletion"\t\t";
       
   248             item = EDRMSettingsIdWMDRMLicenseDeletion;
       
   249             }
       
   250         };
       
   251     }
       
   252 
       
   253 
       
   254 //----------------------------------------------------
       
   255 //
       
   256 //    r_drm_settings_setting_listbox
       
   257 //    Common listbox editor resource for setting pages.
       
   258 //
       
   259 //----------------------------------------------------
       
   260 //
       
   261 RESOURCE LISTBOX r_drm_settings_setting_listbox
       
   262     {
       
   263     flags = EEikListBoxMultipleSelection;
       
   264     }
       
   265 
       
   266 
       
   267 //----------------------------------------------------
       
   268 //
       
   269 //    r_ttracking_setting_page
       
   270 //    Transaction tracking setting page.
       
   271 //
       
   272 //----------------------------------------------------
       
   273 //
       
   274 RESOURCE AVKON_SETTING_PAGE r_ttracking_setting_page
       
   275     {
       
   276     number = EAknSettingPageNoOrdinalDisplayed;
       
   277     label = qtn_drm_set_popup_trans_track;
       
   278     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   279     type = EAknSetListBox;
       
   280     editor_resource_id = r_drm_settings_setting_listbox;
       
   281     }
       
   282 
       
   283 
       
   284 //----------------------------------------------------
       
   285 //
       
   286 //    r_ttracking_setting_page_lbx
       
   287 //    Transaction tracking setting page's listbox.
       
   288 //
       
   289 //----------------------------------------------------
       
   290 //
       
   291 RESOURCE ARRAY r_ttracking_setting_page_lbx
       
   292     {
       
   293     items =
       
   294         {
       
   295         LBUF
       
   296             {
       
   297             txt = qtn_set_transact_tracking_on;
       
   298             },
       
   299         LBUF
       
   300             {
       
   301             txt = qtn_set_transact_tracking_off;
       
   302             }
       
   303         };
       
   304     }
       
   305 
       
   306 
       
   307 //----------------------------------------------------
       
   308 //  r_drm_settings_ttracking_on
       
   309 //
       
   310 // DRM Settings text for Transaction tracking "On"
       
   311 //----------------------------------------------------
       
   312 //
       
   313 RESOURCE TBUF r_drm_settings_ttracking_on
       
   314     {
       
   315     buf = qtn_set_transact_tracking_on;
       
   316     }
       
   317 
       
   318 
       
   319 //----------------------------------------------------
       
   320 //  r_drm_settings_ttracking_off
       
   321 //
       
   322 // DRM Settings text for Transaction tracking "Off"
       
   323 //----------------------------------------------------
       
   324 //
       
   325 RESOURCE TBUF r_drm_settings_ttracking_off
       
   326     {
       
   327     buf = qtn_set_transact_tracking_off;
       
   328     }
       
   329 
       
   330 
       
   331 //----------------------------------------------------
       
   332 //
       
   333 //    r_autom_activ_setting_page
       
   334 //    Automatic activation setting page.
       
   335 //
       
   336 //----------------------------------------------------
       
   337 //
       
   338 RESOURCE AVKON_SETTING_PAGE r_autom_activ_setting_page
       
   339     {
       
   340     number = EAknSettingPageNoOrdinalDisplayed;
       
   341     label = qtn_drm_set_popup_autom_activat;
       
   342     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   343     type = EAknSetListBox;
       
   344     editor_resource_id = r_drm_settings_setting_listbox;
       
   345     }
       
   346 
       
   347 
       
   348 //----------------------------------------------------
       
   349 //
       
   350 //    r_autom_activ_setting_page_lbx
       
   351 //    Automatic activation setting page's listbox.
       
   352 //
       
   353 //----------------------------------------------------
       
   354 //
       
   355 RESOURCE ARRAY r_autom_activ_setting_page_lbx
       
   356     {
       
   357     items =
       
   358         {
       
   359         LBUF
       
   360             {
       
   361             txt = qtn_set_automat_act_allowed;
       
   362             },
       
   363         LBUF
       
   364             {
       
   365             txt = qtn_set_automat_act_not_allowed;
       
   366             }
       
   367         };
       
   368     }
       
   369 
       
   370 
       
   371 //----------------------------------------------------
       
   372 //  r_drm_settings_autom_activ_on
       
   373 //
       
   374 // DRM Settings text for Automatic activation "Allowed"
       
   375 //----------------------------------------------------
       
   376 //
       
   377 RESOURCE TBUF r_drm_settings_autom_activ_on
       
   378     {
       
   379     buf = qtn_set_automat_act_allowed;
       
   380     }
       
   381 
       
   382 
       
   383 //----------------------------------------------------
       
   384 //  r_drm_settings_autom_activ_off
       
   385 //
       
   386 // DRM Settings text for Automatic activation "Not allowed"
       
   387 //----------------------------------------------------
       
   388 //
       
   389 RESOURCE TBUF r_drm_settings_autom_activ_off
       
   390     {
       
   391     buf = qtn_set_automat_act_not_allowed;
       
   392     }
       
   393 
       
   394 // ---------------------------------------------------------
       
   395 //
       
   396 //      r_drm_settings_metering_checkbox_page
       
   397 //      Used in checkbox list.
       
   398 //
       
   399 // ---------------------------------------------------------
       
   400 //
       
   401 RESOURCE AVKON_SETTING_PAGE r_drm_settings_metering_checkbox_page
       
   402     {
       
   403     number = EAknSettingPageNoOrdinalDisplayed;
       
   404     label = qtn_drm_set_popup_usage_report;
       
   405     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__MARK;
       
   406     type =  EAknSetListBox;
       
   407     editor_resource_id = r_drm_settings_metering_checkbox_list;
       
   408     invalid_contents_softkey_resource = R_AVKON_SOFTKEYS_CANCEL;
       
   409     }
       
   410 
       
   411 // ---------------------------------------------------------
       
   412 //
       
   413 //      r_drm_settings_metering_checkbox_list
       
   414 //      Used in checkbox list.
       
   415 //
       
   416 // ---------------------------------------------------------
       
   417 //
       
   418 RESOURCE AVKON_MULTISELECTION_LIST r_drm_settings_metering_checkbox_list
       
   419     {
       
   420     }
       
   421 
       
   422 //------------------------------------------------------------------------------
       
   423 //
       
   424 //    r_usage_reporting_list_title
       
   425 //    Title text for usage reporting listbox
       
   426 //
       
   427 //------------------------------------------------------------------------------
       
   428 //
       
   429 RESOURCE TBUF r_usage_reporting_list_title
       
   430     {
       
   431     buf=qtn_drm_set_popup_usage_report;
       
   432     }
       
   433 
       
   434 
       
   435 //------------------------------------------------------------------------------
       
   436 //
       
   437 //    r_usage_reporting_list_empty
       
   438 //    Empty text for usage reporting listbox
       
   439 //
       
   440 //------------------------------------------------------------------------------
       
   441 //
       
   442 RESOURCE TBUF r_usage_reporting_list_empty
       
   443     {
       
   444     buf=qtn_drm_set_pane_no_providers;
       
   445     }
       
   446 
       
   447 
       
   448 //------------------------------------------------------------------------------
       
   449 //
       
   450 //    r_drm_set_several_services
       
   451 //    'Several' value for 'Allow usage reporting for' field
       
   452 //
       
   453 //------------------------------------------------------------------------------
       
   454 //
       
   455 RESOURCE TBUF r_drm_set_several_services
       
   456     {
       
   457     buf=qtn_drm_set_several_services;
       
   458     }
       
   459 
       
   460 
       
   461 //------------------------------------------------------------------------------
       
   462 //
       
   463 //    r_drm_set_usage_report_none
       
   464 //    'None' value for 'Allow usage reporting for' field
       
   465 //
       
   466 //------------------------------------------------------------------------------
       
   467 //
       
   468 RESOURCE TBUF r_drm_set_usage_report_none
       
   469     {
       
   470     buf=qtn_drm_set_usage_report_none;
       
   471     }
       
   472 
       
   473 
       
   474 //------------------------------------------------------------------------------
       
   475 //
       
   476 //    r_drm_confirmation_query_metering
       
   477 //    Confirmation query dialog.
       
   478 //
       
   479 //------------------------------------------------------------------------------
       
   480 //
       
   481 RESOURCE DIALOG r_drm_confirmation_query_metering
       
   482     {
       
   483     flags=EGeneralQueryFlags;
       
   484     buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
   485     items=
       
   486         {
       
   487         DLG_LINE
       
   488             {
       
   489             type=EAknCtQuery;
       
   490             id=EGeneralQuery;
       
   491             control= AVKON_CONFIRMATION_QUERY
       
   492                 {
       
   493                 layout = EConfirmationQueryLayout;
       
   494                 label = " ";
       
   495                 };
       
   496             }
       
   497         };
       
   498     }
       
   499 
       
   500 //------------------------------------------------------------------------------
       
   501 //
       
   502 //    r_drm_conf_query_metering
       
   503 //    Confirmation query text.
       
   504 //
       
   505 //------------------------------------------------------------------------------
       
   506 //
       
   507 RESOURCE TBUF r_drm_conf_query_metering
       
   508     {
       
   509     buf=qtn_drm_conf_query_metering;
       
   510     }
       
   511 
       
   512 //End of File