examples/ForumNokia/Localisation/data/localization.rss

00001 /*
00002  * Copyright © 2008 Nokia Corporation.
00003  */
00004 
00005 
00006 //  RESOURCE IDENTIFIER
00007 NAME L10N    // 4 letter ID
00008 
00009 
00010 //  INCLUDES
00011 #include <eikon.rh>
00012 #include <avkon.rh>
00013 #include <avkon.rsg>
00014 #include <appinfo.rh>
00015 #include "localization.hrh"
00016 #include "localization.loc"
00017 
00018 //  RESOURCE DEFINITIONS
00019 // -----------------------------------------------------------------------------
00020 //
00021 //    Define the resource file signature
00022 //    This resource should be empty.
00023 //
00024 // -----------------------------------------------------------------------------
00025 //
00026 RESOURCE RSS_SIGNATURE
00027     {
00028     }
00029 
00030 // -----------------------------------------------------------------------------
00031 //
00032 //    Default Document Name
00033 //
00034 // -----------------------------------------------------------------------------
00035 //
00036 RESOURCE TBUF r_default_document_name
00037     {
00038     buf="L10N";
00039     }
00040 
00041 // -----------------------------------------------------------------------------
00042 //
00043 //    Define default menu and CBA key.
00044 //
00045 // -----------------------------------------------------------------------------
00046 //
00047 RESOURCE EIK_APP_INFO
00048     {
00049     menubar = r_localization_menubar;
00050     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00051     }
00052 
00053 
00054 // -----------------------------------------------------------------------------
00055 //
00056 //   r_localization_menubar
00057 //   Menubar for Localization example
00058 //
00059 // -----------------------------------------------------------------------------
00060 //
00061 RESOURCE MENU_BAR r_localization_menubar
00062     {
00063     titles =
00064         {
00065         MENU_TITLE { menu_pane = r_localization_menu; }
00066         };
00067     }
00068 
00069 
00070 // -----------------------------------------------------------------------------
00071 //
00072 //   r_localization_menu
00073 //   Menu for "Options"
00074 //
00075 // -----------------------------------------------------------------------------
00076 //
00077 RESOURCE MENU_PANE r_localization_menu
00078     {
00079     items =
00080         {
00081         // added the new Options menu command here
00082         MENU_ITEM
00083                 {
00084                 command = ELocalizationCommandNumber;
00085                 txt = qtn_loc_commandnumber;
00086                 },
00087         MENU_ITEM
00088                 {
00089                 command = ELocalizationCommandCurrency;
00090                 txt = qtn_loc_commandcurrency;
00091                 },
00092         MENU_ITEM
00093                 {
00094                 command = ELocalizationCommandDate;
00095                 txt = qtn_loc_commanddate;
00096                 },
00097         MENU_ITEM
00098                 {
00099                 command = ELocalizationCommandTime;
00100                 txt = qtn_loc_commandtime;
00101                 },
00102         MENU_ITEM
00103                 {
00104                 command = ELocalizationCommandText;
00105                 txt = qtn_loc_commandtext;
00106                 },
00107         MENU_ITEM
00108                 {
00109                 command = ELocalizationCommandImage;
00110                 txt = qtn_loc_commandimage;
00111                 },
00112         MENU_ITEM
00113                 {
00114                 command = EAknSoftkeyExit;
00115                 txt = qtn_loc_exit;
00116                 }
00117         };
00118     }
00119 
00120 // -----------------------------------------------------------------------------
00121 //
00122 // Resources.
00123 //
00124 // -----------------------------------------------------------------------------
00125 //
00126 RESOURCE TBUF64 r_loc_commandtext_text { buf=qtn_loc_commandtext_text; }
00127 RESOURCE TBUF256 r_loc_commandimage_bmpfile { buf=qtn_loc_commandimage_bmpfile; }
00128 RESOURCE TBUF32 r_loc_caption_string { buf=qtn_loc_caption_string; }
00129 
00130 // ---------------------------------------------------------------------------- 
00131 //
00132 // r_localization_localisable_app_info
00133 //
00134 // ---------------------------------------------------------------------------- 
00135 //
00136 RESOURCE LOCALISABLE_APP_INFO r_localization_localisable_app_info
00137     {
00138     short_caption = qtn_loc_caption_string;
00139     caption_and_icon = 
00140     CAPTION_AND_ICON_INFO
00141         {
00142         caption = qtn_loc_caption_string;
00143 
00144         number_of_icons = 1;
00145         icon_file = "\\resource\\apps\\Localization_aif.mif";
00146         };
00147     }
00148 
00149 // End of File

Generated by  doxygen 1.6.2