examples/ForumNokia/DescriptorExample/data/DescriptorEx.rss

00001 /*
00002  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
00003  *    
00004  * Redistribution and use in source and binary forms, with or without
00005  * modification, are permitted provided that the following conditions are met:
00006  *    
00007  *  * Redistributions of source code must retain the above copyright notice, this
00008  *    list of conditions and the following disclaimer.
00009  *  * Redistributions in binary form must reproduce the above copyright notice,
00010  *    this list of conditions and the following disclaimer in the documentation
00011  *    and/or other materials provided with the distribution.
00012  *  * Neither the name of Nokia Corporation nor the names of its contributors
00013  *    may be used to endorse or promote products derived from this software
00014  *    without specific prior written permission.
00015  *    
00016  *    THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00017  *    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00018  *    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
00019  *    DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
00020  *    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
00021  *    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
00022  *    SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
00023  *    CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
00024  *    OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00025  *    OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00026  *    
00027  *    Description:  
00028  */
00029 
00030 
00031 //  RESOURCE IDENTIFIER
00032 NAME    DEEX // 4 letter ID
00033 
00034 //  INCLUDES
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 //    r_descriptorex_hotkeys
00058 //    ?description
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 //    r_descriptorex_menubar
00073 //    ?description
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 //    r_descriptorex_menu_main
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 // End of File

Generated by  doxygen 1.6.2