examples/HelloWorld/HelloWorld.rss

00001 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
00002 // All rights reserved.
00003 // This component and the accompanying materials are made available
00004 // under the terms of "Eclipse Public License v1.0"
00005 // which accompanies this distribution, and is available
00006 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00007 //
00008 // Initial Contributors:
00009 // Nokia Corporation - initial contribution.
00010 //
00011 // Contributors:
00012 //
00013 // Description:
00014 //
00015 
00016 NAME HEWO
00017 
00018 #include <eikon.rh>
00019 #include <eikcore.rsg>
00020 #include <appinfo.rh>
00021 
00022 #include "HelloWorld.hrh"
00023 
00024 RESOURCE RSS_SIGNATURE { }
00025 
00026 RESOURCE TBUF { buf=""; }
00027 
00028 RESOURCE EIK_APP_INFO
00029         {
00030         hotkeys=r_example_hotkeys;
00031         menubar=r_example_menubar;
00032         }
00033 
00034 RESOURCE HOTKEYS r_example_hotkeys
00035     {
00036     control=
00037         {
00038         HOTKEY { command=EEikCmdExit; key='e'; }
00039         };
00040     }
00041 
00042 RESOURCE MENU_BAR r_example_menubar
00043     {
00044     titles=
00045         {
00046         MENU_TITLE { menu_pane=r_example_first_menu; txt="HelloWld"; }
00047                 };
00048     }
00049 
00050 RESOURCE MENU_PANE r_example_first_menu
00051         {
00052         items=
00053                 {
00054                 MENU_ITEM { command=EExampleItem0; txt="Item 0"; },
00055                 MENU_ITEM { command=EExampleItem1; txt="Item 1"; },
00056                 MENU_ITEM { command=EExampleItem2; txt="Item 2"; },
00057                 MENU_ITEM { command=EEikCmdExit; txt="Close"; }
00058         };
00059     }
00060 
00061 
00062 RESOURCE TBUF r_example_text_Hello { buf="Hello World!"; }
00063 RESOURCE TBUF r_example_text_Item0 { buf="Item 0"; }
00064 RESOURCE TBUF r_example_text_Item1 { buf="Item 1"; }
00065 RESOURCE TBUF r_example_text_Item2 { buf="Item 2"; }
00066 
00067 RESOURCE LOCALISABLE_APP_INFO r_lai
00068         {
00069         short_caption = "HW";
00070         caption_and_icon =
00071                 {
00072                 CAPTION_AND_ICON_INFO
00073                         {
00074                         caption = "helloworld";
00075                         number_of_icons = 3; // each icon must be a bitmap/mask pair
00076                         icon_file = "z:\\resource\\apps\\helloworld.mbm";
00077                         }
00078                 };                                                      
00079         }

Generated by  doxygen 1.6.2