installationservices/swi/test/testexes/testappinuse/HelloWorld.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 26 Jan 2010 12:06:03 +0200
changeset 5 3eebb1e54d3a
parent 0 ba25891c3a9e
permissions -rw-r--r--
Revision: 201001 Kit: 201004

/*
* Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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: 
*
*/


NAME HEWO

#include <techview/eikon.rh>
#include <uiklafgt/eikcore.rsg>
#include <appinfo.rh>

#include "HelloWorld.hrh"

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf=""; }

RESOURCE EIK_APP_INFO
	{
	hotkeys=r_example_hotkeys;
	menubar=r_example_menubar;
	}

RESOURCE HOTKEYS r_example_hotkeys
    {
    control=
        {
        HOTKEY { command=EEikCmdExit; key='e'; }
        };
    }

RESOURCE MENU_BAR r_example_menubar
    {
    titles=
        {
        MENU_TITLE { menu_pane=r_example_first_menu; txt="HelloWld"; }
		};
    }

RESOURCE MENU_PANE r_example_first_menu
	{
	items=
		{
		MENU_ITEM { command=EExampleItem0; txt="Item 0"; },
		MENU_ITEM { command=EExampleItem1; txt="Item 1"; },
		MENU_ITEM { command=EExampleItem2; txt="Item 2"; },
		MENU_ITEM { command=EEikCmdExit; txt="Close"; }
        };
    }


RESOURCE TBUF r_example_text_Hello { buf="Hello World!"; }
RESOURCE TBUF r_example_text_Item0 { buf="Item 0"; }
RESOURCE TBUF r_example_text_Item1 { buf="Item 1"; }
RESOURCE TBUF r_example_text_Item2 { buf="Item 2"; }

RESOURCE LOCALISABLE_APP_INFO r_lai
	{
	short_caption = "HW";
	caption_and_icon =
		{
		CAPTION_AND_ICON_INFO
			{
			caption = "helloworld";
			number_of_icons = 3; // each icon must be a bitmap/mask pair
			icon_file = "z:\\resource\\apps\\helloworld.mbm";
			}
		};							
	}