examples/SDKExamples/helloworldbasic/data/helloworldbasic.rss

00001 /*
00002 * ==============================================================================
00003 *  Name        : Helloworldbasic.rss
00004 *  Part of     : Helloworldbasic
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2005 - 2006 Nokia Corporation and/or its subsidiary(-ies).
00010 *  All rights reserved.
00011 *  This component and the accompanying materials are made available
00012 *  under the terms of "Eclipse Public License v1.0"
00013 *  which accompanies this distribution, and is available
00014 *  at the URL "http://www.eclipse.org/legal/epl-v10.html".
00015 * ==============================================================================
00016 */
00017 
00018 //  RESOURCE IDENTIFIER
00019 NAME HEWB    // 4 letter ID
00020 
00021 
00022 //  INCLUDES
00023 #include <eikon.rh>
00024 #include <avkon.rh>
00025 #include <avkon.rsg>
00026 #include <appinfo.rh>
00027 #include "HelloWorldBasic.hrh"
00028 #include "HelloWorldBasic.rls"
00029 
00030 //  RESOURCE DEFINITIONS
00031 // -----------------------------------------------------------------------------
00032 //
00033 //    Define the resource file signature
00034 //    This resource should be empty.
00035 //
00036 // -----------------------------------------------------------------------------
00037 //
00038 RESOURCE RSS_SIGNATURE
00039     {
00040     }
00041 
00042 // -----------------------------------------------------------------------------
00043 //
00044 //    Default Document Name
00045 //
00046 // -----------------------------------------------------------------------------
00047 //
00048 RESOURCE TBUF r_default_document_name
00049     {
00050     buf="HEWB";
00051     }
00052 
00053 // -----------------------------------------------------------------------------
00054 //
00055 //    Define default menu and CBA key.
00056 //
00057 // -----------------------------------------------------------------------------
00058 //
00059 RESOURCE EIK_APP_INFO
00060     {
00061     menubar = r_helloworldbasic_menubar;
00062     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00063     }
00064 
00065 
00066 // -----------------------------------------------------------------------------
00067 //
00068 //   r_helloworldbasic_menubar
00069 //   Menubar for HelloWorldBasic example
00070 //
00071 // -----------------------------------------------------------------------------
00072 //
00073 RESOURCE MENU_BAR r_helloworldbasic_menubar
00074     {
00075     titles =
00076         {
00077         MENU_TITLE { menu_pane = r_helloworldbasic_menu; }
00078         };
00079     }
00080 
00081 
00082 // -----------------------------------------------------------------------------
00083 //
00084 //   r_helloworldbasic_menu
00085 //   Menu for "Options"
00086 //
00087 // -----------------------------------------------------------------------------
00088 //
00089 RESOURCE MENU_PANE r_helloworldbasic_menu
00090     {
00091     items =
00092         {
00093         // added the new Options menu command here
00094         MENU_ITEM
00095                 {
00096                 command = EHelloWorldBasicCommand1;
00097                 txt = STRING_r_hewb_command1;
00098                 },
00099         MENU_ITEM
00100                 {
00101                 command = EHelloWorldBasicCommand2;
00102                 txt = STRING_r_hewb_command2;
00103                 },
00104         MENU_ITEM
00105                 {
00106                 command = EHelloWorldBasicCommand3;
00107                 txt = STRING_r_hewb_command3;
00108                 },
00109         MENU_ITEM
00110                 {
00111                 command = EAknSoftkeyExit;
00112                 txt = STRING_r_hewb_exit;
00113                 }
00114         };
00115     }
00116 
00117 // -----------------------------------------------------------------------------
00118 //
00119 // Resources for messages.
00120 //
00121 // -----------------------------------------------------------------------------
00122 //
00123 RESOURCE TBUF32 r_hewb_command1_text { buf=STRING_r_hewb_command1_text; }
00124 RESOURCE TBUF32 r_hewb_file_text { buf=STRING_r_hewb_file_text; }
00125 RESOURCE TBUF32 r_hewb_caption_string { buf=STRING_r_hewb_caption_string; }
00126 
00127 // ----------------------------------------------------------------------------
00128 //
00129 // r_helloworldbasic_localisable_app_info
00130 //
00131 // ----------------------------------------------------------------------------
00132 //
00133 RESOURCE LOCALISABLE_APP_INFO r_helloworldbasic_localisable_app_info
00134     {
00135     short_caption = STRING_r_hewb_caption_string;
00136     caption_and_icon =
00137     CAPTION_AND_ICON_INFO
00138         {
00139         caption = STRING_r_hewb_caption_string;
00140 
00141         number_of_icons = 1;
00142                 icon_file = "\\resource\\apps\\Helloworldbasic_aif.mif";
00143             };
00144     }
00145 
00146 // ----------------------------------------------------------------------------
00147 //
00148 // r_dialog_text_edit_query
00149 //
00150 // ----------------------------------------------------------------------------
00151 //
00152 RESOURCE DIALOG r_dialog_text_edit_query
00153     {
00154     flags = EGeneralQueryFlags;
00155     buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
00156     items =
00157         {
00158         DLG_LINE
00159             {
00160             type = EAknCtQuery;
00161             id = EGeneralQuery;
00162             control = AVKON_DATA_QUERY
00163                 {
00164                 layout = EDataLayout;
00165                 label = "";
00166                 control = EDWIN
00167                     {
00168                     width = 32;
00169                     maxlength = 32;
00170                     lines = 1;
00171                     };
00172                 };
00173             }
00174         };
00175     }
00176 // End of File
00177 

Generated by  doxygen 1.6.2