examples/ForumNokia/DescriptorExample/data/DescriptorEx.rss

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

Generated by  doxygen 1.6.2