srsf/speechsynthesis/tsrc/testapplication/data/testapplication.rss
branchRCL_3
changeset 23 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
22:cad71a31b7fc 23:e36f3802f733
       
     1 /*
       
     2 * Copyright (c) 2005-2006 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:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  RESOURCE IDENTIFIER
       
    20 NAME    AWIZ // 4 letter ID
       
    21 
       
    22 //  INCLUDES
       
    23 
       
    24 #include <appinfo.rh>
       
    25 #include <avkon.loc>
       
    26 #include <avkon.rh>
       
    27 #include <avkon.rsg>
       
    28 #include <data_caging_paths_strings.hrh>
       
    29 #include <eikon.rh>
       
    30 #include <eikon.rsg>
       
    31 
       
    32 #include "TestApp.hrh"
       
    33 
       
    34 //  RESOURCE DEFINITIONS 
       
    35 
       
    36 // ---------------------------------------------------------
       
    37 //   
       
    38 //    Define the resource file signature 
       
    39 //    This resource should be empty.
       
    40 //
       
    41 // ---------------------------------------------------------
       
    42 //
       
    43 RESOURCE RSS_SIGNATURE 
       
    44 {
       
    45 }
       
    46 
       
    47 // ---------------------------------------------------------
       
    48 //   
       
    49 //    Default Document Name
       
    50 //
       
    51 // ---------------------------------------------------------
       
    52 //
       
    53 RESOURCE TBUF r_default_document_name
       
    54 {
       
    55     buf="TTS API test";
       
    56 }
       
    57 
       
    58 // ---------------------------------------------------------
       
    59 //   
       
    60 //    Define default menu and CBA key.
       
    61 //
       
    62 // ---------------------------------------------------------
       
    63 //
       
    64 RESOURCE EIK_APP_INFO
       
    65 {
       
    66     menubar = r_test_application_menubar_mainview;
       
    67     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
    68 }
       
    69 
       
    70 //----------------------------------------------------
       
    71 //   
       
    72 //    r_test_application_localisable_app_info
       
    73 //    menu captions and application icon
       
    74 //
       
    75 //----------------------------------------------------
       
    76 //
       
    77 RESOURCE LOCALISABLE_APP_INFO r_test_application_localisable_app_info
       
    78 {
       
    79 
       
    80     short_caption = TTS API test;
       
    81     
       
    82     caption_and_icon = 
       
    83     CAPTION_AND_ICON_INFO 
       
    84     {   
       
    85         caption = TTS API test;
       
    86         number_of_icons = 1;
       
    87 
       
    88     };
       
    89 }
       
    90 
       
    91 // ---------------------------------------------------------
       
    92 //   
       
    93 //    r_test_application_mainview
       
    94 //    Define the main view
       
    95 //
       
    96 // ---------------------------------------------------------
       
    97 //
       
    98 RESOURCE AVKON_VIEW r_test_application_mainview
       
    99 {
       
   100     menubar = r_test_application_menubar_mainview;
       
   101     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
   102 }
       
   103 
       
   104 
       
   105 //----------------------------------------------------
       
   106 //   
       
   107 //    r_test_application_menubar_mainview
       
   108 //
       
   109 //----------------------------------------------------
       
   110 //
       
   111 RESOURCE MENU_BAR r_test_application_menubar_mainview
       
   112 {
       
   113     titles =
       
   114     {
       
   115         MENU_TITLE
       
   116         {
       
   117             menu_pane = r_test_application_menu;
       
   118         }
       
   119     };
       
   120 }
       
   121 
       
   122 //----------------------------------------------------
       
   123 //   
       
   124 //    r_test_application_menu
       
   125 //
       
   126 //----------------------------------------------------
       
   127 //
       
   128 RESOURCE MENU_PANE r_test_application_menu
       
   129     {
       
   130     items=
       
   131         {
       
   132         MENU_ITEM { command = EAknCmdExit;                 txt = "Exit"; },
       
   133         MENU_ITEM { command = ETestAppCmdAppConnect;       txt = "Connect to server"; },
       
   134         MENU_ITEM { command = ETestAppCmdAppDisconnect;    txt = "Disconnect server"; },
       
   135         MENU_ITEM { command = ETestAppCmdAppSayText;       txt = "Say text"; },
       
   136         MENU_ITEM { command = ETestAppCmdAppSayTextToFile; txt = "Say text to file"; },
       
   137         MENU_ITEM { command = ETestAppCmdAppChangeVoice;   txt = "Change voice"; },
       
   138         MENU_ITEM { command = ETestAppCmdAppVolumeDown;    txt = "Volume down"; },
       
   139         MENU_ITEM { command = ETestAppCmdAppVolumeUp;      txt = "Volume up"; }
       
   140         };
       
   141     }
       
   142 
       
   143 // End of File