/*
* Copyright (c) 2001-2009 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: 
* TNRLAPP.RSS
*
*/


NAME NRL
CHARACTER_SET UTF8
#include <techview/eikon.rh>
#include <eikcore.rsg>
#include <eikctl.rsg>
#include <testnrl.mbg>
#include "TestNrl.hrh"

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF16 { buf=""; }

RESOURCE EIK_APP_INFO
	{
	hotkeys=r_nrl_hotkeys;
	menubar=r_nrl_menubar;
	toolbar=r_nrl_toolbar;
	}

RESOURCE MENU_BAR r_nrl_menubar
  {
  titles=
      {
       MENU_TITLE {menu_pane=r_nrl_file; txt="File"; }
       };
   }

RESOURCE MENU_PANE r_nrl_file 
	{
	items=
		{
		MENU_ITEM
			{
			command=EAppCmdTest;
			txt="Start Test";
			},
		MENU_ITEM
			{
			command=EAppCmdExit;
			txt="Exit";
			}
		};
	}

RESOURCE HOTKEYS r_nrl_hotkeys
	{
	control=
		{
		HOTKEY{command=EAppCmdTest;key='t';},
		HOTKEY{command=EAppCmdExit;key='e';}
		};
	}


RESOURCE TOOLBAR r_nrl_toolbar
	{
	controls=
		{
		TBAR_BUTTON 
			{
			id=EAppCmdTest; 
			txt="Start\nTests";
			layout=EEikCmdButExcessToText;
			flags=EEikToolBarCtrlHasSetMinLength;
			length=KEikStdToolBarButtonHeight;
			},
		TBAR_BUTTON 
			{
			id=EAppCmdExit; 
			txt="Exit";
			layout=EEikCmdButExcessToText;
			flags=EEikToolBarCtrlHasSetMinLength;
			length=KEikStdToolBarButtonHeight;
			},
		TBAR_BUTTON
			{
			id=EAppCmdNone;
			flags=EEikToolBarCtrlHasSetMinLength;
			length=KEikStdToolBarButtonHeight*10/8;
			layout=EEikCmdButTextRightPictureLeft|EEikCmdButDenseFont|EEikCmdButExcessToText;
			bmpfile="z:\\resource\\apps\\testnrl.mbm";
			bmpid=EMbmTestnrlPic;
			bmpmask=EMbmTestnrlMask;
			},
		TBAR_CTRL 
			{
			type=EEikCtSpacer; id=9999; flags=EEikToolBarCtrlIsStretchable;
			control=SPACER { }; 
			},
		TBAR_CTRL
			{
			type=EEikCtClock;
			control=CLOCK 
				{ 
				digitalresourceid=R_EIK_DIGITAL_CLOCK; 
				analogresourceid=R_EIK_ANALOG_CLOCK; 
				};
			}
		};
	}

RESOURCE ARRAY r_nrl_collate
	{
	items=
		{
		LBUF {txt="D";},
		LBUF {txt="B";},
		LBUF {txt="A";}
		};
	}



