00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 NAME HEWB
00018
00019
00020
00021 #include <eikon.rh>
00022 #include <avkon.rh>
00023 #include <avkon.rsg>
00024 #include <appinfo.rh>
00025 #include "HelloWorldBasic.hrh"
00026 #include "HelloWorldBasic.rls"
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036 RESOURCE RSS_SIGNATURE
00037 {
00038 }
00039
00040
00041
00042
00043
00044
00045
00046 RESOURCE TBUF r_default_document_name
00047 {
00048 buf="HEWB";
00049 }
00050
00051
00052
00053
00054
00055
00056
00057 RESOURCE EIK_APP_INFO
00058 {
00059 menubar = r_helloworldbasic_menubar;
00060 cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00061 }
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071 RESOURCE MENU_BAR r_helloworldbasic_menubar
00072 {
00073 titles =
00074 {
00075 MENU_TITLE { menu_pane = r_helloworldbasic_menu; }
00076 };
00077 }
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087 RESOURCE MENU_PANE r_helloworldbasic_menu
00088 {
00089 items =
00090 {
00091
00092 MENU_ITEM
00093 {
00094 command = EHelloWorldBasicCommand1;
00095 txt = STRING_r_hewb_command1;
00096 },
00097 MENU_ITEM
00098 {
00099 command = EHelloWorldBasicCommand2;
00100 txt = STRING_r_hewb_command2;
00101 },
00102 MENU_ITEM
00103 {
00104 command = EHelloWorldBasicCommand3;
00105 txt = STRING_r_hewb_command3;
00106 },
00107 MENU_ITEM
00108 {
00109 command = EAknSoftkeyExit;
00110 txt = STRING_r_hewb_exit;
00111 }
00112 };
00113 }
00114
00115
00116
00117
00118
00119
00120
00121 RESOURCE TBUF32 r_hewb_command1_text { buf=STRING_r_hewb_command1_text; }
00122 RESOURCE TBUF32 r_hewb_file_text { buf=STRING_r_hewb_file_text; }
00123 RESOURCE TBUF32 r_hewb_caption_string { buf=STRING_r_hewb_caption_string; }
00124
00125
00126
00127
00128
00129
00130
00131 RESOURCE LOCALISABLE_APP_INFO r_helloworldbasic_localisable_app_info
00132 {
00133 short_caption = STRING_r_hewb_caption_string;
00134 caption_and_icon =
00135 CAPTION_AND_ICON_INFO
00136 {
00137 caption = STRING_r_hewb_caption_string;
00138
00139 number_of_icons = 1;
00140 icon_file = "\\resource\\apps\\Helloworldbasic_aif.mif";
00141 };
00142 }
00143
00144
00145
00146
00147
00148
00149
00150 RESOURCE DIALOG r_dialog_text_edit_query
00151 {
00152 flags = EGeneralQueryFlags;
00153 buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
00154 items =
00155 {
00156 DLG_LINE
00157 {
00158 type = EAknCtQuery;
00159 id = EGeneralQuery;
00160 control = AVKON_DATA_QUERY
00161 {
00162 layout = EDataLayout;
00163 label = "";
00164 control = EDWIN
00165 {
00166 width = 32;
00167 maxlength = 32;
00168 lines = 1;
00169 };
00170 };
00171 }
00172 };
00173 }
00174
00175