examples/ForumNokia/EComCalculator/client/data/EComCalculator.rss

00001 /*
00002  * ============================================================================
00003  *  Name     : EComCalculator.rss
00004  *  Part of  : EComCalculator
00005  *  Created  : 17/11/2003 by Forum Nokia
00006  *  Version  : 1.0
00007  *  Copyright: Nokia Corporation
00008  * ============================================================================
00009  */
00010 
00011 NAME ECOM    // Can be any four letter ID.
00012 
00013 //  INCLUDES
00014 
00015 #include <eikon.rh>
00016 #include <avkon.rh>
00017 #include <avkon.rsg>
00018 #include "EComCalculator.hrh"
00019 
00020 // ---------------------------------------------------------
00021 //   
00022 //    Define the resource file signature 
00023 //    This resource should be empty.
00024 //
00025 // ---------------------------------------------------------
00026 //
00027 RESOURCE RSS_SIGNATURE 
00028     { 
00029     }
00030 
00031 // ---------------------------------------------------------
00032 //   
00033 //    Default Document Name
00034 //
00035 // ---------------------------------------------------------
00036 //
00037 RESOURCE TBUF 
00038     { 
00039     buf=""; 
00040     }
00041 
00042 // ---------------------------------------------------------
00043 //   
00044 //    Define default menu and CBA key.
00045 //
00046 // ---------------------------------------------------------
00047 //
00048 RESOURCE EIK_APP_INFO
00049     {
00050     menubar = r_ecomcalculator_menubar;
00051     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00052     }
00053 
00054 
00055 // ---------------------------------------------------------
00056 //   
00057 //   r_ecomcalculator_menubar
00058 //   Main menubar
00059 //
00060 // ---------------------------------------------------------
00061 //
00062 RESOURCE MENU_BAR r_ecomcalculator_menubar
00063     {
00064     titles =
00065         {
00066         MENU_TITLE 
00067             {
00068             menu_pane = r_ecomcalculator_menu;
00069             }
00070         };
00071     }
00072 
00073 
00074 // ---------------------------------------------------------
00075 //   
00076 //   r_ecomcalculator_menu
00077 //   Menu for "Options"
00078 //   See EComCalculator.hrh for commands
00079 //
00080 // ---------------------------------------------------------
00081 //
00082 RESOURCE MENU_PANE r_ecomcalculator_menu
00083     {
00084     items = 
00085         {
00086         MENU_ITEM 
00087             {
00088             command = ECalculateSumCmd;     
00089             txt = "Sum";
00090             },
00091         MENU_ITEM 
00092             {
00093             command = ECalculateMultiplyCmd;  
00094             txt = "Multiply";
00095             },
00096         MENU_ITEM 
00097             {
00098             command = EAknSoftkeyExit;   
00099             txt = "Exit";
00100             }
00101         };
00102     }
00103 
00104 //----------------------------------------------------
00105 //    r_ecomcalculator_edwin
00106 //    Resource for edit box in EComCalculatorAppView
00107 //----------------------------------------------------
00108 //
00109 RESOURCE EDWIN r_ecomcalculator_edwin
00110     {
00111     flags = EAknEditorFlagDefault;
00112     width = 10;
00113     lines= 1;
00114     maxlength = 5;  // Max number of characters
00115     allowed_input_modes = EAknEditorNumericInputMode; 
00116     default_input_mode = EAknEditorNumericInputMode;
00117     }

Generated by  doxygen 1.6.2