mmaudio_plat/telephony_audio_routing_client_api/TelephonyAudioRouting_TestApp/data/myplayer.rss
author hgs
Tue, 02 Nov 2010 12:28:51 +0000
changeset 6 fe9d1bf55678
parent 5 b220a9341636
permissions -rw-r--r--
2010wk46_02

/*
* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  TelephonyAudioRouting Test Application
*
*/
//  RESOURCE IDENTIFIER
NAME MYPL	// 4 letter ID


//  INCLUDES
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <appinfo.rh>
#include <CommonDialogs.hrh> 
#include <CommonDialogs.rh> 
#include <pathconfiguration.hrh>
#include "myplayer.hrh"
#include "myplayer.rls"

//  RESOURCE DEFINITIONS
// -----------------------------------------------------------------------------
//
//	Define the resource file signature
//	This resource should be empty.
//
// -----------------------------------------------------------------------------
//
RESOURCE RSS_SIGNATURE
	{
	}

// -----------------------------------------------------------------------------
//
//	Default Document Name
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF r_default_document_name
	{
	buf="MYPL";
	}

// -----------------------------------------------------------------------------
//
//	Define default menu and CBA key.
//
// -----------------------------------------------------------------------------
//
RESOURCE EIK_APP_INFO
	{
	menubar = r_menubar;
	cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
	}


// -----------------------------------------------------------------------------
//
//   r_menubar
//   Main menubar
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_BAR r_menubar
	{
	titles =
		{
		MENU_TITLE { menu_pane = r_menu; }
		};
	}


// -----------------------------------------------------------------------------
//
//   r_menu
//   Menu for "Options"
//
// -----------------------------------------------------------------------------
//
RESOURCE MENU_PANE r_menu
	{
	items =
		{
		// added the new Options menu command here
		
		MENU_ITEM
	            {
	            command = ECmdCreatePlayer;
	            txt = qtn_cmdcreatplayer;
		        },
	    MENU_ITEM
		        {
		        command = ECmdSetOutputL;
		        txt = qtn_cmdSetOutputL;
		        },
        MENU_ITEM
                {
                command = ECmdSetShowNote;
                txt = qtn_cmdSetShowNote;
                },		
       MENU_ITEM
                {
                command = ECmdGetShowNote;
                txt = qtn_cmdGetShowNote;
                },
       MENU_ITEM
               {
               command = ECmdOutputChanged;
               txt = qtn_cmdOutputChanged;
               },         
      MENU_ITEM
             {
             command = ECmdOutputChangeReq;
             txt = qtn_cmdOutputChangeReq;
             },
     	MENU_ITEM
				{
				command = EAknSoftkeyExit;
				txt = qtn_exit;
				}
		};
	}

// -----------------------------------------------------------------------------
//
// About dialog resource.
//
// -----------------------------------------------------------------------------
//
RESOURCE DIALOG r_about_query_dialog
	{
	flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
	buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
	items=
		{
		DLG_LINE 
			{
			type = EAknCtPopupHeadingPane;
			id = EAknMessageQueryHeaderId;
			itemflags = EEikDlgItemNonFocusing;
			control = AVKON_HEADING
				{
				};
			},
		DLG_LINE
			{
			type = EAknCtMessageQuery;
			id = EAknMessageQueryContentId;
			control = AVKON_MESSAGE_QUERY
				{
				};
			}
		};
	}


// -----------------------------------------------------------------------------
//
// Resources for messages.
//
// -----------------------------------------------------------------------------
//
RESOURCE TBUF32 r_caption_string { buf=qtn_caption_string; }
RESOURCE TBUF32 r_about_dialog_title { buf=qtn_about_dialog_title; }
RESOURCE TBUF r_about_dialog_text { buf=qtn_about_dialog_text; }
RESOURCE TBUF r_audio_player_text { buf=qtn_audio_player_text; }
RESOURCE TBUF r_dialog_kerrpermission_denied { buf=qtn_dialog_kerrpermission_denied; }




// ---------------------------------------------------------------------------- 
//
// r_localisable_app_info
//
// ---------------------------------------------------------------------------- 
//
RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
	{
	short_caption = qtn_caption_string;
	caption_and_icon = 
	CAPTION_AND_ICON_INFO
		{
		caption = qtn_caption_string;

		number_of_icons = 1;
		icon_file = "\\resource\\apps\\myplayer_0xe0edbe14.mif";
		};
	}
RESOURCE MEMORYSELECTIONDIALOG r_memory_selection_dialog 
    { 
    title = "Select location"; 
    softkey_1 = "Ok"; 
    softkey_2 = "Back"; 
    locations = 
        { 
        LOCATION { root_path = "C:\\"; } 
        }; 
    }
// End of File