00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032 NAME DEEX
00033
00034
00035 #include <eikon.rh>
00036 #include "descriptorex.hrh"
00037 #include "descriptorex.loc"
00038 #include <avkon.rsg>
00039 #include <avkon.rh>
00040 #include <avkon.mbg>
00041 #include <appinfo.rh>
00042
00043
00044 RESOURCE RSS_SIGNATURE { }
00045
00046 RESOURCE TBUF { buf="DescriptorEx"; }
00047
00048 RESOURCE EIK_APP_INFO
00049 {
00050 hotkeys=r_descriptorex_hotkeys;
00051 menubar=r_descriptorex_menubar;
00052 cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00053 }
00054
00055
00056
00057
00058
00059
00060
00061
00062 RESOURCE HOTKEYS r_descriptorex_hotkeys
00063 {
00064 control=
00065 {
00066 HOTKEY { command=EAknCmdExit; key='e'; }
00067 };
00068 }
00069
00070
00071
00072
00073
00074
00075
00076
00077 RESOURCE MENU_BAR r_descriptorex_menubar
00078 {
00079 titles=
00080 {
00081 MENU_TITLE { menu_pane=r_descriptorex_menu_pane_main; txt="File"; }
00082 };
00083 }
00084
00085
00086
00087
00088
00089
00090
00091 RESOURCE MENU_PANE r_descriptorex_menu_pane_main
00092 {
00093 items=
00094 {
00095 MENU_ITEM { command=ECmd_RunAll; txt=menu_run_all_string; },
00096 MENU_ITEM { command=0; txt=menu_declarations_string; cascade = menu_pane_allocation; },
00097 MENU_ITEM { command=0; txt=menu_manipulations_string; cascade = menu_pane_manipulations; },
00098 MENU_ITEM { command=0; txt=menu_other_buffers_string; cascade = menu_pane_other_buffers; },
00099 MENU_ITEM { command=EAknCmdExit; txt=menu_exit_string; }
00100 };
00101 }
00102
00103 RESOURCE MENU_PANE menu_pane_allocation
00104 {
00105 items=
00106 {
00107 MENU_ITEM { command=ECmd_DeclareToStack; txt=menu_declare_to_stack_string; },
00108 MENU_ITEM { command=ECmd_DeclareToHeap; txt=menu_declare_to_heap_string; },
00109 MENU_ITEM { command=ECmd_DeclareLiterals; txt=menu_declare_literals_string; }
00110 };
00111 }
00112
00113 RESOURCE MENU_PANE menu_pane_manipulations
00114 {
00115 items=
00116 {
00117 MENU_ITEM { command=ECmd_NonModifyingMethods; txt=menu_non_modifying_methods_string; },
00118 MENU_ITEM { command=ECmd_ModifyingMethods; txt=menu_modifying_methods_string; },
00119 MENU_ITEM { command=ECmd_CharacterConversions; txt=menu_character_conversions_string; },
00120 MENU_ITEM { command=ECmd_LexicalAnalysis; txt=menu_lexical_analysis_string; }
00121 };
00122 }
00123
00124 RESOURCE MENU_PANE menu_pane_other_buffers
00125 {
00126 items=
00127 {
00128 MENU_ITEM { command=ECmd_CircularBuffers; txt=menu_circulare_buffers_string; },
00129 MENU_ITEM { command=ECmd_FlatDynamicBuffers; txt=menu_flat_dynamic_buffers_string; },
00130 MENU_ITEM { command=ECmd_SegmentedDynamicBuffers; txt=menu_segmented_dynamic_buffers_string; },
00131 MENU_ITEM { command=ECmd_PackageBuffers; txt=menu_package_buffers_string; }
00132 };
00133 }
00134
00135 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
00136 {
00137 short_caption = qtn_app_caption_string;
00138 caption_and_icon =
00139 CAPTION_AND_ICON_INFO
00140 {
00141 caption = qtn_app_caption_string;
00142
00143 number_of_icons = 1;
00144 icon_file = "\\resource\\apps\\DescriptorExample.mif";
00145 };
00146 }
00147
00148
00149