commondrm/drmutility/data/drmutility.rss
changeset 0 95b198f216e5
child 16 457cd4423b8c
equal deleted inserted replaced
-1:000000000000 0:95b198f216e5
       
     1 /*
       
     2 * Copyright (c) 2007-2008 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 definitions for DrmUtility
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // RESOURCE IDENTIFIER
       
    20 NAME DRMU
       
    21 
       
    22 //  INCLUDES
       
    23 #include <eikon.rh>
       
    24 #include <eikon.rsg>
       
    25 #include <avkon.rh>
       
    26 #include <avkon.rsg>
       
    27 #include <avkon.loc>
       
    28 #include <avkon.mbg>
       
    29 
       
    30 #include <drmutility.loc>
       
    31 
       
    32 // RESOURCE DEFINITIONS
       
    33 RESOURCE RSS_SIGNATURE { }
       
    34 
       
    35 RESOURCE TBUF16 { buf=""; }
       
    36 
       
    37 
       
    38 // -----------------------------------------------------------------------------
       
    39 // r_drmutility_confirmation_query
       
    40 // Confirmation query dialog
       
    41 // -----------------------------------------------------------------------------
       
    42 RESOURCE DIALOG r_drmutility_confirmation_query
       
    43     {
       
    44     flags=EGeneralQueryFlags;
       
    45     buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
       
    46     items=
       
    47         {
       
    48         DLG_LINE
       
    49             {
       
    50             type=EAknCtQuery;
       
    51             id=EGeneralQuery;
       
    52             control= AVKON_CONFIRMATION_QUERY
       
    53                 {
       
    54                 layout = EConfirmationQueryLayout;
       
    55                 label = " ";
       
    56                 };
       
    57             }
       
    58         };
       
    59     }
       
    60 
       
    61 // -----------------------------------------------------------------------------
       
    62 // r_drmutility_waiting_rights_confirmation_query
       
    63 // Confirmation query dialog
       
    64 // -----------------------------------------------------------------------------
       
    65 RESOURCE DIALOG r_drmutility_waiting_rights_confirmation_query
       
    66     {
       
    67     flags=EGeneralQueryFlags;
       
    68     buttons=R_AVKON_SOFTKEYS_OK_EMPTY__OK;
       
    69     items=
       
    70         {
       
    71         DLG_LINE
       
    72             {
       
    73             type=EAknCtQuery;
       
    74             id=EGeneralQuery;
       
    75             control= AVKON_CONFIRMATION_QUERY
       
    76                 {
       
    77                 layout = EConfirmationQueryLayout;
       
    78                 label = " ";
       
    79                 animation = R_QGN_NOTE_INFO_ANIM;
       
    80                 };
       
    81             }
       
    82         };
       
    83     }
       
    84 
       
    85 // -----------------------------------------------------------------------------
       
    86 // r_drm_qry_connect_to_activate
       
    87 // Confirmation query for silent rights acquisition if not allowed in settings
       
    88 // -----------------------------------------------------------------------------
       
    89 RESOURCE TBUF r_drm_qry_connect_to_activate
       
    90     {
       
    91     buf = qtn_drm_qry_connect_to_activate;
       
    92     }
       
    93 
       
    94 // -----------------------------------------------------------------------------
       
    95 // r_drm_warn_no_conn_defined
       
    96 // Info note shown when silent rights activation failed because
       
    97 // no access points are defined.
       
    98 // -----------------------------------------------------------------------------
       
    99 RESOURCE TBUF r_drm_warn_no_conn_defined
       
   100     {
       
   101     buf = qtn_drm_warn_no_conn_defined;
       
   102     }
       
   103 
       
   104 // -----------------------------------------------------------------------------
       
   105 // r_drm_warn_invalid_or_no_ap
       
   106 // Info note shown when silent rights activation failed because server cannot
       
   107 // be contacted either because access point is invalid, packet data context cannot
       
   108 // be established, or access point is of wrong type.
       
   109 // -----------------------------------------------------------------------------
       
   110 RESOURCE TBUF r_drm_warn_invalid_or_no_ap
       
   111     {
       
   112     buf = qtn_drm_warn_invalid_or_no_ap;
       
   113     }
       
   114 
       
   115 // -----------------------------------------------------------------------------
       
   116 // r_drm_err_opening_fail_perm
       
   117 // Info note shown when silent rights activation failed because of permanent type
       
   118 // of error.
       
   119 // -----------------------------------------------------------------------------
       
   120 RESOURCE TBUF r_drm_err_opening_fail_perm
       
   121     {
       
   122     buf = qtn_drm_err_opening_fail_perm;
       
   123     }
       
   124 
       
   125 // -----------------------------------------------------------------------------
       
   126 // r_drm_query_open_error_url
       
   127 // Confirmation query for opening error url in ROAP temporary error case.
       
   128 // -----------------------------------------------------------------------------
       
   129 RESOURCE TBUF r_drm_query_open_error_url
       
   130     {
       
   131     buf = qtn_drm_query_open_error_url;
       
   132     }
       
   133 
       
   134 // -----------------------------------------------------------------------------
       
   135 // r_drmutility_usage_rights_in_future
       
   136 // Text displayed when usage rights are not yet valid.
       
   137 // -----------------------------------------------------------------------------
       
   138 RESOURCE TBUF r_drmutility_usage_rights_in_future
       
   139     {
       
   140     buf = qtn_drm_note_ro_valid_on_future;
       
   141     }
       
   142 
       
   143 // -----------------------------------------------------------------------------
       
   144 // r_drm_info_expired_or_no_ro
       
   145 // String displayed in info note when usage rights expired or missing
       
   146 // rights.
       
   147 // -----------------------------------------------------------------------------
       
   148 RESOURCE TBUF r_drm_info_expired_or_no_ro
       
   149     {
       
   150     buf = qtn_drm_info_expired_or_no_ro;
       
   151     }
       
   152 
       
   153 // -----------------------------------------------------------------------------
       
   154 // r_drm_query_expired_or_no_ro
       
   155 // String displayed in query when usage rights expired or missing
       
   156 // rights.
       
   157 // -----------------------------------------------------------------------------
       
   158 RESOURCE TBUF r_drm_query_expired_or_no_ro
       
   159     {
       
   160     buf = qtn_drm_query_expired_or_no_ro;
       
   161     }
       
   162 
       
   163 // -----------------------------------------------------------------------------
       
   164 // r_drmutility_waiting_for_rights
       
   165 // Text displayed when waiting for rights
       
   166 // -----------------------------------------------------------------------------
       
   167 RESOURCE TBUF r_drmutility_waiting_for_rights
       
   168     {
       
   169     buf = qtn_drm_query_waiting_for_ro;
       
   170     }
       
   171 
       
   172 // -----------------------------------------------------------------------------
       
   173 // r_drmutility_rights_should_have_come_no_ri
       
   174 // Text displayed when usage rights are missing but according to
       
   175 // x-oma-separate-delivery header they should have arrived
       
   176 // -----------------------------------------------------------------------------
       
   177 RESOURCE TBUF r_drmutility_rights_should_have_come_no_ri
       
   178     {
       
   179     buf = qtn_drm_query_ro_late;
       
   180     }
       
   181 
       
   182 // -----------------------------------------------------------------------------
       
   183 // r_drmutility_rights_should_have_come
       
   184 // Text displayed in query when usage rights are missing but according to
       
   185 // x-oma-separate-delivery header they should have arrived
       
   186 // -----------------------------------------------------------------------------
       
   187 RESOURCE TBUF r_drmutility_rights_should_have_come
       
   188     {
       
   189     buf = qtn_drm_query_ro_late_activate;
       
   190     }
       
   191 
       
   192 // -----------------------------------------------------------------------------
       
   193 // r_drmutility_activate_account
       
   194 // Text displayed in query when domain account must be upgraded.
       
   195 // -----------------------------------------------------------------------------
       
   196 RESOURCE TBUF r_drmutility_activate_account
       
   197     {
       
   198     buf = qtn_drm_query_activate_account;
       
   199     }
       
   200 
       
   201 // -----------------------------------------------------------------------------
       
   202 // r_drm_info_sim_not_allowed
       
   203 // Text displayed in info note when content cannot be rendered because of wrong SIM.
       
   204 // -----------------------------------------------------------------------------
       
   205 RESOURCE TBUF r_drm_info_sim_not_allowed
       
   206     {
       
   207     buf = qtn_drm_info_sim_not_allowed;
       
   208     }
       
   209 
       
   210 // -----------------------------------------------------------------------------
       
   211 // r_drmutility_invalid_sim
       
   212 // Text displayed in query when content cannot be rendered because of wrong SIM.
       
   213 // -----------------------------------------------------------------------------
       
   214 RESOURCE TBUF r_drmutility_invalid_sim
       
   215     {
       
   216     buf = qtn_drm_query_sim_not_allowed;
       
   217     }
       
   218 
       
   219 // -----------------------------------------------------------------------------
       
   220 // r_drm_query_set_automated
       
   221 // Text displayed in query when already activated content is set for automated
       
   222 // use.
       
   223 // -----------------------------------------------------------------------------
       
   224 //
       
   225 RESOURCE TBUF r_drm_query_set_automated
       
   226     {
       
   227     buf = qtn_drm_query_valid_rights_until;
       
   228     }
       
   229 
       
   230 // -----------------------------------------------------------------------------
       
   231 // r_drm_query_set_auto_interval
       
   232 // Confirmation query for setting content with interval as automated content.
       
   233 // -----------------------------------------------------------------------------
       
   234 //
       
   235 RESOURCE TBUF r_drm_query_set_auto_interval
       
   236     {
       
   237     buf = qtn_drm_query_set_auto_interval;
       
   238     }
       
   239 
       
   240 // -----------------------------------------------------------------------------
       
   241 // r_drm_query_metering_disabled
       
   242 // Text displayed on trying to open content with metering rights and when 
       
   243 // metering is set as disabled
       
   244 // -----------------------------------------------------------------------------
       
   245 RESOURCE TBUF r_drm_query_metering_disabled
       
   246     {
       
   247     buf = qtn_drm_query_metering_disabled;
       
   248     }
       
   249 
       
   250 #ifdef RD_DRM_PREVIEW_RIGHT_FOR_AUDIO
       
   251 
       
   252 //-----------------------------------------------------------------------------
       
   253 //
       
   254 //    r_drmutility_prev_audio_get_list_query
       
   255 //    Preview list query for audio with preview rights url.
       
   256 //
       
   257 //-----------------------------------------------------------------------------
       
   258 //
       
   259 RESOURCE AVKON_LIST_QUERY r_drmutility_prev_audio_get_list_query
       
   260     {
       
   261     softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
   262 
       
   263     items =
       
   264         {
       
   265         DLG_LINE
       
   266             {
       
   267             type = EAknCtPopupHeadingPane;
       
   268             id = EAknMessageQueryHeaderId;
       
   269             control = AVKON_HEADING
       
   270                 {
       
   271                 label = qtn_drm_prmpt_activate_preview;
       
   272                 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; // not sure if this is needed
       
   273                 };
       
   274             },
       
   275         DLG_LINE
       
   276             {
       
   277             type = EAknCtMessageQuery;
       
   278             id = EAknListQueryMessageBox;
       
   279             control = AVKON_MESSAGE_QUERY
       
   280                 {
       
   281                 message = qtn_drm_desc_activate_or_prvw;
       
   282                 };
       
   283             },
       
   284         AVKON_LIST_QUERY_DLG_LINE
       
   285             {
       
   286             id = EListQueryControl;
       
   287             control = AVKON_LIST_QUERY_CONTROL
       
   288                 {
       
   289                 listtype = EAknCtSinglePopupMenuListBox;
       
   290                 listbox = AVKON_LIST_QUERY_LIST
       
   291                     {
       
   292                     flags = EAknListBoxSelectionList;
       
   293                     array_id = r_drmutility_audio_prev_get_list;
       
   294                     };
       
   295                 heading = qtn_drm_prmpt_activate_preview;
       
   296                 };
       
   297             }
       
   298         };
       
   299     }
       
   300 
       
   301 //-----------------------------------------------------------------------------
       
   302 //
       
   303 //    r_drmutility_prev_video_get_list_query
       
   304 //    Preview list query for video with preview rights url.
       
   305 //
       
   306 //-----------------------------------------------------------------------------
       
   307 //
       
   308 RESOURCE AVKON_LIST_QUERY r_drmutility_prev_video_get_list_query
       
   309     {
       
   310     softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
   311 
       
   312     items =
       
   313         {
       
   314         DLG_LINE
       
   315             {
       
   316             type = EAknCtPopupHeadingPane;
       
   317             id = EAknMessageQueryHeaderId;
       
   318             control = AVKON_HEADING
       
   319                 {
       
   320                 label = qtn_drm_prmpt_activate_preview;
       
   321                 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; // not sure if this is needed
       
   322                 };
       
   323             },
       
   324         DLG_LINE
       
   325             {
       
   326             type = EAknCtMessageQuery;
       
   327             id = EAknListQueryMessageBox;
       
   328             control = AVKON_MESSAGE_QUERY
       
   329                 {
       
   330                 message = qtn_drm_desc_act_or_prev_video;
       
   331                 };
       
   332             },
       
   333         AVKON_LIST_QUERY_DLG_LINE
       
   334             {
       
   335             id = EListQueryControl;
       
   336             control = AVKON_LIST_QUERY_CONTROL
       
   337                 {
       
   338                 listtype = EAknCtSinglePopupMenuListBox;
       
   339                 listbox = AVKON_LIST_QUERY_LIST
       
   340                     {
       
   341                     flags = EAknListBoxSelectionList;
       
   342                     array_id = r_drmutility_video_prev_get_list;
       
   343                     };
       
   344                 heading = qtn_drm_prmpt_activate_preview;
       
   345                 };
       
   346             }
       
   347         };
       
   348     }
       
   349 
       
   350 
       
   351 //-----------------------------------------------------------------------------
       
   352 //
       
   353 //    r_drmutility_prev_audio_play_list_query
       
   354 //    Preview list query for audio with embedded preview.
       
   355 //
       
   356 //-----------------------------------------------------------------------------
       
   357 //
       
   358 RESOURCE AVKON_LIST_QUERY r_drmutility_prev_audio_play_list_query
       
   359     {
       
   360     softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
   361 
       
   362     items =
       
   363         {
       
   364         DLG_LINE
       
   365             {
       
   366             type = EAknCtPopupHeadingPane;
       
   367             id = EAknMessageQueryHeaderId;
       
   368             control = AVKON_HEADING
       
   369                 {
       
   370                 label = qtn_drm_prmpt_activate_preview;
       
   371                 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; // not sure if this is needed
       
   372                 };
       
   373             },
       
   374         DLG_LINE
       
   375             {
       
   376             type = EAknCtMessageQuery;
       
   377             id = EAknListQueryMessageBox;
       
   378             control = AVKON_MESSAGE_QUERY
       
   379                 {
       
   380                 message = qtn_drm_desc_play_preview_audio;
       
   381                 };
       
   382             },
       
   383         AVKON_LIST_QUERY_DLG_LINE
       
   384             {
       
   385             id = EListQueryControl;
       
   386             control = AVKON_LIST_QUERY_CONTROL
       
   387                 {
       
   388                 listtype = EAknCtSinglePopupMenuListBox;
       
   389                 listbox = AVKON_LIST_QUERY_LIST
       
   390                     {
       
   391                     flags = EAknListBoxSelectionList;
       
   392                     array_id = r_drmutility_audio_prev_play_list;
       
   393                     };
       
   394                 heading = qtn_drm_prmpt_activate_preview;
       
   395                 };
       
   396             }
       
   397         };
       
   398     }
       
   399 
       
   400 //-----------------------------------------------------------------------------
       
   401 //
       
   402 //    r_drmutility_prev_video_play_list_query
       
   403 //    Preview list query for video with embedded preview.
       
   404 //
       
   405 //-----------------------------------------------------------------------------
       
   406 //
       
   407 RESOURCE AVKON_LIST_QUERY r_drmutility_prev_video_play_list_query
       
   408     {
       
   409     softkeys = R_AVKON_SOFTKEYS_SELECT_CANCEL__SELECT;
       
   410 
       
   411     items =
       
   412         {
       
   413         DLG_LINE
       
   414             {
       
   415             type = EAknCtPopupHeadingPane;
       
   416             id = EAknMessageQueryHeaderId;
       
   417             control = AVKON_HEADING
       
   418                 {
       
   419                 label = qtn_drm_prmpt_activate_preview;
       
   420                 headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE; // not sure if this is needed
       
   421                 };
       
   422             },
       
   423         DLG_LINE
       
   424             {
       
   425             type = EAknCtMessageQuery;
       
   426             id = EAknListQueryMessageBox;
       
   427             control = AVKON_MESSAGE_QUERY
       
   428                 {
       
   429                 message = qtn_drm_desc_play_preview_video;
       
   430                 };
       
   431             },
       
   432 
       
   433         AVKON_LIST_QUERY_DLG_LINE
       
   434             {
       
   435             id = EListQueryControl;
       
   436             control = AVKON_LIST_QUERY_CONTROL
       
   437                 {
       
   438                 listtype = EAknCtSinglePopupMenuListBox;
       
   439                 listbox = AVKON_LIST_QUERY_LIST
       
   440                     {
       
   441                     flags = EAknListBoxSelectionList;
       
   442                     array_id = r_drmutility_video_prev_play_list;
       
   443                     };
       
   444                 heading = qtn_drm_prmpt_activate_preview;
       
   445                 };
       
   446             }
       
   447         };
       
   448     }
       
   449 
       
   450 
       
   451 
       
   452 //-----------------------------------------------------------------------------
       
   453 //
       
   454 //    r_drmutility_audio_prev_get_list
       
   455 //    Array elements for preview rights of audio dcf.
       
   456 //
       
   457 //-----------------------------------------------------------------------------
       
   458 //
       
   459 RESOURCE ARRAY r_drmutility_audio_prev_get_list
       
   460     {
       
   461     items=
       
   462         {
       
   463         LBUF
       
   464             {
       
   465             txt = qtn_drm_options_activate;
       
   466             },
       
   467         LBUF
       
   468             {
       
   469             txt = qtn_drm_options_get_preview;
       
   470             }
       
   471         };
       
   472     }
       
   473 
       
   474 //-----------------------------------------------------------------------------
       
   475 //
       
   476 //    r_drmutility_video_prev_get_list
       
   477 //    Array elements for preview rights of video dcf.
       
   478 //
       
   479 //-----------------------------------------------------------------------------
       
   480 //
       
   481 RESOURCE ARRAY r_drmutility_video_prev_get_list
       
   482     {
       
   483     items=
       
   484         {
       
   485         LBUF
       
   486             {
       
   487             txt = qtn_drm_options_activate;
       
   488             },
       
   489         LBUF
       
   490             {
       
   491             txt = qtn_drm_options_get_prev_video;
       
   492             }
       
   493         };
       
   494     }
       
   495 
       
   496 //-----------------------------------------------------------------------------
       
   497 //
       
   498 //    r_drmutility_audio_prev_play_list
       
   499 //    Array elements for embedded preview of audio dcf.
       
   500 //
       
   501 //-----------------------------------------------------------------------------
       
   502 //
       
   503 RESOURCE ARRAY r_drmutility_audio_prev_play_list
       
   504     {
       
   505     items=
       
   506         {
       
   507         LBUF
       
   508             {
       
   509             txt = qtn_drm_options_activate;
       
   510             },
       
   511         LBUF
       
   512             {
       
   513             txt = qtn_drm_options_play_preview;
       
   514             }
       
   515         };
       
   516     }
       
   517 
       
   518 //-----------------------------------------------------------------------------
       
   519 //
       
   520 //    r_drmutility_video_prev_play_list
       
   521 //    Array elements for embedded preview of video dcf.
       
   522 //
       
   523 //-----------------------------------------------------------------------------
       
   524 //
       
   525 RESOURCE ARRAY r_drmutility_video_prev_play_list
       
   526     {
       
   527     items=
       
   528         {
       
   529         LBUF
       
   530             {
       
   531             txt = qtn_drm_options_activate;
       
   532             },
       
   533         LBUF
       
   534             {
       
   535             txt = qtn_drm_options_play_prev_video;
       
   536             }
       
   537         };
       
   538     }
       
   539 
       
   540 // -----------------------------------------------------------------------------
       
   541 // r_drmutility_activate_preview
       
   542 // Text displayed in header of global preview list query
       
   543 // -----------------------------------------------------------------------------
       
   544 RESOURCE TBUF r_drmutility_activate_preview
       
   545     {
       
   546     buf = qtn_drm_prmpt_activate_preview;
       
   547     }
       
   548 
       
   549 // -----------------------------------------------------------------------------
       
   550 // r_drmutility_activate
       
   551 // Text displayed in global preview list query as a choise to activate content
       
   552 // -----------------------------------------------------------------------------
       
   553 RESOURCE TBUF r_drmutility_activate
       
   554     {
       
   555     buf = qtn_drm_options_activate;
       
   556     }
       
   557 
       
   558 // -----------------------------------------------------------------------------
       
   559 // r_drmutility_play_preview
       
   560 // Text displayed in global preview list query as a choise to play preview
       
   561 // for audio
       
   562 // -----------------------------------------------------------------------------
       
   563 RESOURCE TBUF r_drmutility_play_preview
       
   564     {
       
   565     buf = qtn_drm_options_play_preview;
       
   566     }
       
   567 
       
   568 // -----------------------------------------------------------------------------
       
   569 // r_drmutility_play_preview_video
       
   570 // Text displayed in global preview list query as a choise to play preview
       
   571 // for video
       
   572 // -----------------------------------------------------------------------------
       
   573 RESOURCE TBUF r_drmutility_play_preview_video
       
   574     {
       
   575     buf = qtn_drm_options_play_prev_video;
       
   576     }
       
   577 
       
   578 // -----------------------------------------------------------------------------
       
   579 // r_drmutility_get_preview
       
   580 // Text displayed in global preview list query as a choise to get preview
       
   581 // rights for audio
       
   582 // -----------------------------------------------------------------------------
       
   583 RESOURCE TBUF r_drmutility_get_preview
       
   584     {
       
   585     buf = qtn_drm_options_get_preview;
       
   586     }
       
   587 
       
   588 // -----------------------------------------------------------------------------
       
   589 // r_drmutility_get_preview_video
       
   590 // Text displayed in global preview list query as a choise to get preview
       
   591 // rights for video
       
   592 // -----------------------------------------------------------------------------
       
   593 RESOURCE TBUF r_drmutility_get_preview_video
       
   594     {
       
   595     buf = qtn_drm_options_get_prev_video;
       
   596     }
       
   597 
       
   598 #endif // RD_DRM_PREVIEW_RIGHT_FOR_AUDIO
       
   599 
       
   600 // End of File