00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
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
00025 #ifdef LANGUAGE_01 // if language code is for UK
00026 #include "01/01-strings.rls"
00027 #elif defined LANGUAGE_03 // if language code is for German
00028 #include "03/03-strings.rls"
00029 #endif
00030
00031
00032 RESOURCE RSS_SIGNATURE { }
00033
00034 RESOURCE TBUF { buf=""; }
00035
00036 RESOURCE EIK_APP_INFO
00037 {
00038 hotkeys=r_example_hotkeys;
00039 menubar=r_example_menubar;
00040 }
00041
00042 RESOURCE HOTKEYS r_example_hotkeys
00043 {
00044 control=
00045 {
00046 HOTKEY { command=EEikCmdExit; key='e'; }
00047 };
00048 }
00049
00050 RESOURCE MENU_BAR r_example_menubar
00051 {
00052 titles=
00053 {
00054 MENU_TITLE { menu_pane=r_example_first_menu; txt=STRING_r_example_first_menu_name; }
00055 };
00056 }
00057
00058
00059 RESOURCE MENU_PANE r_example_first_menu
00060 {
00061 items=
00062 {
00063 MENU_ITEM { command=EExampleItem0; txt=STRING_r_example_item0; },
00064 MENU_ITEM { command=EExampleItem1; txt=STRING_r_example_item1; },
00065 MENU_ITEM { command=EExampleItem2; txt=STRING_r_example_item2; },
00066 MENU_ITEM { command=EEikCmdExit; txt=STRING_r_example_menu_exit; }
00067 };
00068 }
00069
00070 RESOURCE TBUF r_example_text_Hello { buf=STRING_r_example_hello_text; }
00071 RESOURCE TBUF r_example_text_Item0 { buf=STRING_r_example_item0; }
00072 RESOURCE TBUF r_example_text_Item1 { buf=STRING_r_example_item1; }
00073 RESOURCE TBUF r_example_text_Item2 { buf=STRING_r_example_item2; }
00074
00075 RESOURCE LOCALISABLE_APP_INFO r_lai
00076 {
00077 short_caption = STRING_r_example_short_caption;
00078 caption_and_icon =
00079 {
00080 CAPTION_AND_ICON_INFO
00081 {
00082 caption = STRING_r_example_caption;
00083 number_of_icons = 3;
00084 icon_file = STRING_r_example_iconfile;
00085 }
00086 };
00087 }