profilesapplication/Profiles/ProfilesGSTonesPlugin/data/ProfilesGSTonesPluginRsc.rss
branchRCL_3
changeset 19 cd54903d48da
equal deleted inserted replaced
18:b7fa36b488f8 19:cd54903d48da
       
     1 /*
       
     2 * Copyright (c) 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 plugin.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME    TNVW // 4 letter ID
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 #include    <data_caging_paths_strings.hrh>
       
    25 #include    <bldvariant.hrh>
       
    26 #include    <avkon.loc> // Avkon localized strings
       
    27 #include <profile.hrh>
       
    28 #include <profilesettingsview.hrh>
       
    29 #include <profileinternal.hrh>
       
    30 #include <ProfileEng.hrh>
       
    31 #include <eikon.rh>
       
    32 #include <avkon.rh>
       
    33 #include    <avkon.mbg>
       
    34 #include    <avkon.rsg>
       
    35 #include    <eikcore.rsg>
       
    36 #include    <uikon.rh>
       
    37 #include    "ProfilesGsTonesPlugin.hrh"
       
    38 #include    <profilesgstonesplugin.loc>
       
    39 #include    <profileapp.loc>
       
    40 // FileListModel path definitions
       
    41 #include <PathConfiguration.hrh>
       
    42 // FileListModel structure
       
    43 #include <filelistmodel.rh>
       
    44 
       
    45 // CONSTANTS
       
    46 
       
    47 //  RESOURCE DEFINITIONS
       
    48 
       
    49 //----------------------------------------------------
       
    50 //
       
    51 //
       
    52 //    Needed or loading the resource fails!
       
    53 //
       
    54 //----------------------------------------------------
       
    55 //
       
    56 RESOURCE RSS_SIGNATURE
       
    57     {
       
    58     }
       
    59 
       
    60 // Include the common part of the resources (of application and plugin):
       
    61 #include    "ProfileSettingsViewCommon.rss"
       
    62 
       
    63 //----------------------------------------------------
       
    64 //
       
    65 //    r_profiles_gs_tones_view
       
    66 //    Tones view.
       
    67 //
       
    68 //----------------------------------------------------
       
    69 //
       
    70 RESOURCE AVKON_VIEW r_profiles_gs_tones_view
       
    71     {
       
    72     menubar = r_profiles_gs_options_menubar;
       
    73     cba = r_profiles_gs_tones_view_softkeys_options_back_change;
       
    74     }
       
    75 
       
    76 //----------------------------------------------------
       
    77 //
       
    78 //    r_profiles_gs_tones_view_softkeys_options_back_change
       
    79 //    Tones view cba.
       
    80 //
       
    81 //----------------------------------------------------
       
    82 //
       
    83 RESOURCE CBA r_profiles_gs_tones_view_softkeys_options_back_change
       
    84     {
       
    85     flags = 0;
       
    86     buttons =
       
    87         {
       
    88         CBA_BUTTON {id=EAknSoftkeyOptions; txt=text_softkey_option;},
       
    89         CBA_BUTTON {id=EAknSoftkeyBack; txt=text_softkey_back;},
       
    90         CBA_BUTTON {id=EAknSoftkeyChange; txt=qtn_msk_change;}
       
    91         };
       
    92     }
       
    93 
       
    94 //----------------------------------------------------
       
    95 //
       
    96 //    r_profiles_gs_tones_view_title
       
    97 //    Tones view title.
       
    98 //
       
    99 //----------------------------------------------------
       
   100 //
       
   101 RESOURCE TBUF r_profiles_gs_tones_view_title
       
   102     {
       
   103     buf = qtn_set_title_pers_tones;
       
   104     }
       
   105 
       
   106 //----------------------------------------------------
       
   107 //
       
   108 //    r_profiles_gs_tones_view_caption
       
   109 //    Tones view caption for plugin
       
   110 //
       
   111 //----------------------------------------------------
       
   112 //
       
   113 RESOURCE TBUF r_profiles_gs_tones_view_caption
       
   114     {
       
   115     buf = qtn_set_pers_tones;
       
   116     }
       
   117 
       
   118 //----------------------------------------------------
       
   119 //
       
   120 //    r_profiles_gs_tones_view_updated_note
       
   121 //    Active profile changed. View updated -note
       
   122 //
       
   123 //----------------------------------------------------
       
   124 //
       
   125 RESOURCE TBUF r_profiles_gs_tones_view_updated_note
       
   126     {
       
   127     buf = qtn_profiles_info_tones_view_updated;
       
   128     }
       
   129 
       
   130 //----------------------------------------------------
       
   131 //   
       
   132 //    r_profiles_gs_options_menubar
       
   133 //    Options menu with 'Change' and 'Exit' items.
       
   134 //
       
   135 //----------------------------------------------------
       
   136 //
       
   137 RESOURCE MENU_BAR r_profiles_gs_options_menubar
       
   138     {
       
   139     titles =
       
   140         {
       
   141         MENU_TITLE 
       
   142             { 
       
   143             menu_pane = r_profiles_gs_options_menupane;
       
   144             }
       
   145         };
       
   146     }
       
   147  
       
   148 //----------------------------------------------------
       
   149 //   
       
   150 //    r_profiles_gs_menu_item_change
       
   151 //    Options menu item 'Change'.
       
   152 //
       
   153 //----------------------------------------------------
       
   154 //
       
   155 RESOURCE MENU_PANE r_profiles_gs_menu_item_change
       
   156     {
       
   157     items =
       
   158         {
       
   159         MENU_ITEM 
       
   160             {
       
   161             command = EProfilesGsTonesCmdChange;
       
   162             txt = qtn_options_change;
       
   163             }
       
   164         };
       
   165     }
       
   166 
       
   167 //----------------------------------------------------
       
   168 //   
       
   169 //    r_profiles_gs_options_menupane
       
   170 //    Options menu of GS tones view
       
   171 //
       
   172 //----------------------------------------------------
       
   173 //
       
   174 RESOURCE MENU_PANE r_profiles_gs_options_menupane
       
   175     {
       
   176     items =
       
   177         {
       
   178         MENU_ITEM 
       
   179             {
       
   180             command = EProfilesGsTonesCmdChange;
       
   181             txt = qtn_options_change;
       
   182             },
       
   183         MENU_ITEM
       
   184             {
       
   185             command = EAknCmdHelp;
       
   186             txt = qtn_options_help;
       
   187             },
       
   188         MENU_ITEM 
       
   189             {
       
   190             command = EAknCmdExit;
       
   191             txt = qtn_options_exit;
       
   192             }
       
   193         };
       
   194     }
       
   195 
       
   196 // -----------------------------------------------------------------------------
       
   197 //
       
   198 // r_profile_gs_tones_view_setting_item_list
       
   199 // ?description
       
   200 //
       
   201 // -----------------------------------------------------------------------------
       
   202 //
       
   203 RESOURCE AVKON_SETTING_ITEM_LIST r_profile_gs_tones_view_setting_item_list
       
   204     {
       
   205     items =
       
   206         {
       
   207         AVKON_SETTING_ITEM
       
   208             {
       
   209             identifier = EProfileSettingRingingToneId;
       
   210             name = qtn_mode_ringing_tone;
       
   211             },
       
   212         AVKON_SETTING_ITEM
       
   213             {
       
   214             identifier = EProfileSettingRingingToneLine1Id;
       
   215             name = qtn_mode_line1_tone;
       
   216             },
       
   217         AVKON_SETTING_ITEM
       
   218             {
       
   219             identifier = EProfileSettingRingingToneLine2Id;
       
   220             name = qtn_mode_line2_tone;
       
   221             },
       
   222         AVKON_SETTING_ITEM
       
   223             {
       
   224             identifier = EProfileSettingVideoCallToneId;
       
   225             name = qtn_mode_vt_tone;
       
   226             },
       
   227 		AVKON_SETTING_ITEM
       
   228 	    	{
       
   229 	    	identifier = EProfileSettingTTSRingingToneId;
       
   230 	    	name = qtn_mode_tts_ringing_tone;
       
   231 	    	setting_page_resource = r_profile_tts_tones_setting_page;
       
   232 	    	associated_resource = r_profile_tts_setting_texts;
       
   233             },
       
   234         AVKON_SETTING_ITEM
       
   235             {
       
   236             identifier = EProfileSettingRingingTypeId;
       
   237             name = qtn_mode_ringing_type_2;
       
   238             setting_page_resource = r_profile_ringing_type_setting_page;
       
   239             associated_resource = r_profile_ringing_type_setting_texts;
       
   240             },
       
   241         AVKON_SETTING_ITEM
       
   242             {
       
   243             identifier = EProfileSettingRingingVolumeId;
       
   244             name = qtn_mode_ringing_volume;
       
   245             setting_page_resource = r_profile_ringing_volume_setting_page;
       
   246             },
       
   247         AVKON_SETTING_ITEM
       
   248             {
       
   249             identifier = EProfileSettingMessageAlertToneId;
       
   250             name = qtn_mode_message_tone;
       
   251             },
       
   252         AVKON_SETTING_ITEM
       
   253             {
       
   254             identifier = EProfileSettingEmailAlertToneId;
       
   255             name = qtn_profiles_e_mail_tone;
       
   256             },
       
   257         AVKON_SETTING_ITEM
       
   258             {
       
   259             identifier = EProfileGSTonesPluginSettingCalendarToneId;
       
   260             name = qtn_profiles_calendar_tone;
       
   261             },
       
   262         AVKON_SETTING_ITEM
       
   263             {
       
   264             identifier = EProfileGSTonesPluginSettingClockToneId;
       
   265             name = qtn_profiles_clock_tone;
       
   266             },
       
   267         AVKON_SETTING_ITEM
       
   268             {
       
   269             identifier = EProfileSettingVibratingAlertId;
       
   270             name = qtn_mode_vibrating_alert;
       
   271             setting_page_resource = r_profile_vibrating_alert_setting_page;
       
   272             associated_resource = r_profile_vibrating_alert_setting_texts;
       
   273             },
       
   274         AVKON_SETTING_ITEM
       
   275             {
       
   276             identifier = EProfileSettingKeypadVolumeId;
       
   277             name = qtn_mode_keypad_volume;
       
   278             setting_page_resource = r_profile_keypad_volume_setting_page;
       
   279             associated_resource = r_profile_keypad_volume_setting_texts;
       
   280             },
       
   281         AVKON_SETTING_ITEM
       
   282             {
       
   283             identifier = EProfileSettingWarningAndGameTonesId;
       
   284             name = qtn_mode_warning_game;
       
   285             setting_page_resource = r_profile_warning_tones_setting_page;
       
   286             associated_resource = r_profile_warning_alert_setting_texts;
       
   287             },
       
   288         AVKON_SETTING_ITEM
       
   289             {
       
   290             identifier = EProfileGSTonesPluginSettingHacModeId;
       
   291             name = qtn_set_audio_hac_mode;
       
   292             setting_page_resource = r_profile_hac_mode_setting_page;
       
   293             associated_resource = r_profile_hac_mode_setting_texts;
       
   294             }
       
   295         };
       
   296     }
       
   297 
       
   298 // -----------------------------------------------------------------------------
       
   299 //
       
   300 // r_qtn_no_personal_tone
       
   301 // Default tone text used in Calendar/Clock alarm tone selection list.
       
   302 //
       
   303 // -----------------------------------------------------------------------------
       
   304 //
       
   305 RESOURCE TBUF r_qtn_no_personal_tone
       
   306     {
       
   307     buf = qtn_tc_no_personal_tone;
       
   308     }
       
   309     
       
   310 // -----------------------------------------------------------------------------
       
   311 //
       
   312 // r_profile_hac_mode_setting_page
       
   313 // Setting page resource for Hearing aid compatibility setting item.
       
   314 //
       
   315 // -----------------------------------------------------------------------------
       
   316 //
       
   317 RESOURCE AVKON_SETTING_PAGE r_profile_hac_mode_setting_page
       
   318     {
       
   319     label = qtn_set_audio_hac_mode;
       
   320     softkey_resource = R_AVKON_SOFTKEYS_OK_CANCEL__OK;
       
   321     type = EAknCtPopupSettingList;
       
   322     editor_resource_id = r_profile_empty_popup_setting_list_control;
       
   323     }
       
   324 
       
   325 // -----------------------------------------------------------------------------
       
   326 //
       
   327 // r_profile_vibrating_alert_setting_texts
       
   328 // ?description
       
   329 //
       
   330 // -----------------------------------------------------------------------------
       
   331 //
       
   332 RESOURCE AVKON_POPUP_SETTING_TEXTS r_profile_hac_mode_setting_texts
       
   333     {
       
   334     setting_texts_resource = r_profile_hac_mode_texts_and_values;
       
   335     }
       
   336 
       
   337 // -----------------------------------------------------------------------------
       
   338 //
       
   339 // r_profile_vibrating_alert_texts_and_values
       
   340 // ?description
       
   341 //
       
   342 // -----------------------------------------------------------------------------
       
   343 //
       
   344 RESOURCE ARRAY r_profile_hac_mode_texts_and_values
       
   345     {
       
   346     items =
       
   347         {
       
   348         AVKON_ENUMERATED_TEXT { value = 1;  text = qtn_set_audio_hac_mode_on; },
       
   349         AVKON_ENUMERATED_TEXT { value = 0;  text = qtn_set_audio_hac_mode_off; }
       
   350         };
       
   351     }
       
   352 
       
   353 // End of File
       
   354