mmaudio_plat/telephony_audio_routing_client_api/TelephonyAudioRouting_TestApp/data/myplayer.rss
changeset 5 b220a9341636
equal deleted inserted replaced
4:9d4397b300d1 5:b220a9341636
       
     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 "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:  TelephonyAudioRouting Test Application
       
    15 *
       
    16 */
       
    17 //  RESOURCE IDENTIFIER
       
    18 NAME MYPL	// 4 letter ID
       
    19 
       
    20 
       
    21 //  INCLUDES
       
    22 #include <eikon.rh>
       
    23 #include <avkon.rsg>
       
    24 #include <avkon.rh>
       
    25 #include <appinfo.rh>
       
    26 #include <CommonDialogs.hrh> 
       
    27 #include <CommonDialogs.rh> 
       
    28 #include <pathconfiguration.hrh>
       
    29 #include "myplayer.hrh"
       
    30 #include "myplayer.rls"
       
    31 
       
    32 //  RESOURCE DEFINITIONS
       
    33 // -----------------------------------------------------------------------------
       
    34 //
       
    35 //	Define the resource file signature
       
    36 //	This resource should be empty.
       
    37 //
       
    38 // -----------------------------------------------------------------------------
       
    39 //
       
    40 RESOURCE RSS_SIGNATURE
       
    41 	{
       
    42 	}
       
    43 
       
    44 // -----------------------------------------------------------------------------
       
    45 //
       
    46 //	Default Document Name
       
    47 //
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 RESOURCE TBUF r_default_document_name
       
    51 	{
       
    52 	buf="MYPL";
       
    53 	}
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 //
       
    57 //	Define default menu and CBA key.
       
    58 //
       
    59 // -----------------------------------------------------------------------------
       
    60 //
       
    61 RESOURCE EIK_APP_INFO
       
    62 	{
       
    63 	menubar = r_menubar;
       
    64 	cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
       
    65 	}
       
    66 
       
    67 
       
    68 // -----------------------------------------------------------------------------
       
    69 //
       
    70 //   r_menubar
       
    71 //   Main menubar
       
    72 //
       
    73 // -----------------------------------------------------------------------------
       
    74 //
       
    75 RESOURCE MENU_BAR r_menubar
       
    76 	{
       
    77 	titles =
       
    78 		{
       
    79 		MENU_TITLE { menu_pane = r_menu; }
       
    80 		};
       
    81 	}
       
    82 
       
    83 
       
    84 // -----------------------------------------------------------------------------
       
    85 //
       
    86 //   r_menu
       
    87 //   Menu for "Options"
       
    88 //
       
    89 // -----------------------------------------------------------------------------
       
    90 //
       
    91 RESOURCE MENU_PANE r_menu
       
    92 	{
       
    93 	items =
       
    94 		{
       
    95 		// added the new Options menu command here
       
    96 		
       
    97 		MENU_ITEM
       
    98 	            {
       
    99 	            command = ECmdCreatePlayer;
       
   100 	            txt = qtn_cmdcreatplayer;
       
   101 		        },
       
   102 	    MENU_ITEM
       
   103 		        {
       
   104 		        command = ECmdSetOutputL;
       
   105 		        txt = qtn_cmdSetOutputL;
       
   106 		        },
       
   107         MENU_ITEM
       
   108                 {
       
   109                 command = ECmdSetShowNote;
       
   110                 txt = qtn_cmdSetShowNote;
       
   111                 },		
       
   112        MENU_ITEM
       
   113                 {
       
   114                 command = ECmdGetShowNote;
       
   115                 txt = qtn_cmdGetShowNote;
       
   116                 },
       
   117        MENU_ITEM
       
   118                {
       
   119                command = ECmdOutputChanged;
       
   120                txt = qtn_cmdOutputChanged;
       
   121                },         
       
   122       MENU_ITEM
       
   123              {
       
   124              command = ECmdOutputChangeReq;
       
   125              txt = qtn_cmdOutputChangeReq;
       
   126              },
       
   127      	MENU_ITEM
       
   128 				{
       
   129 				command = EAknSoftkeyExit;
       
   130 				txt = qtn_exit;
       
   131 				}
       
   132 		};
       
   133 	}
       
   134 
       
   135 // -----------------------------------------------------------------------------
       
   136 //
       
   137 // About dialog resource.
       
   138 //
       
   139 // -----------------------------------------------------------------------------
       
   140 //
       
   141 RESOURCE DIALOG r_about_query_dialog
       
   142 	{
       
   143 	flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
       
   144 	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
       
   145 	items=
       
   146 		{
       
   147 		DLG_LINE 
       
   148 			{
       
   149 			type = EAknCtPopupHeadingPane;
       
   150 			id = EAknMessageQueryHeaderId;
       
   151 			itemflags = EEikDlgItemNonFocusing;
       
   152 			control = AVKON_HEADING
       
   153 				{
       
   154 				};
       
   155 			},
       
   156 		DLG_LINE
       
   157 			{
       
   158 			type = EAknCtMessageQuery;
       
   159 			id = EAknMessageQueryContentId;
       
   160 			control = AVKON_MESSAGE_QUERY
       
   161 				{
       
   162 				};
       
   163 			}
       
   164 		};
       
   165 	}
       
   166 
       
   167 
       
   168 // -----------------------------------------------------------------------------
       
   169 //
       
   170 // Resources for messages.
       
   171 //
       
   172 // -----------------------------------------------------------------------------
       
   173 //
       
   174 RESOURCE TBUF32 r_caption_string { buf=qtn_caption_string; }
       
   175 RESOURCE TBUF32 r_about_dialog_title { buf=qtn_about_dialog_title; }
       
   176 RESOURCE TBUF r_about_dialog_text { buf=qtn_about_dialog_text; }
       
   177 RESOURCE TBUF r_audio_player_text { buf=qtn_audio_player_text; }
       
   178 RESOURCE TBUF r_dialog_kerrpermission_denied { buf=qtn_dialog_kerrpermission_denied; }
       
   179 
       
   180 
       
   181 
       
   182 
       
   183 // ---------------------------------------------------------------------------- 
       
   184 //
       
   185 // r_localisable_app_info
       
   186 //
       
   187 // ---------------------------------------------------------------------------- 
       
   188 //
       
   189 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
       
   190 	{
       
   191 	short_caption = qtn_caption_string;
       
   192 	caption_and_icon = 
       
   193 	CAPTION_AND_ICON_INFO
       
   194 		{
       
   195 		caption = qtn_caption_string;
       
   196 
       
   197 		number_of_icons = 1;
       
   198 		icon_file = "\\resource\\apps\\myplayer_0xe0edbe14.mif";
       
   199 		};
       
   200 	}
       
   201 RESOURCE MEMORYSELECTIONDIALOG r_memory_selection_dialog 
       
   202     { 
       
   203     title = "Select location"; 
       
   204     softkey_1 = "Ok"; 
       
   205     softkey_2 = "Back"; 
       
   206     locations = 
       
   207         { 
       
   208         LOCATION { root_path = "C:\\"; } 
       
   209         }; 
       
   210     }
       
   211 // End of File