examples/ForumNokia/Symbian_OS_Basics_Lab_Exercises_v3_1/Lab_04309.cb1/solution/data/AOLabTextFlash.rss

00001 // Copyright (c) 2006 Nokia Corporation.
00002 
00003 //  RESOURCE IDENTIFIER
00004 NAME AOLA    // 4 letter ID
00005 
00006 //  INCLUDES
00007 #include <eikon.rh>
00008 #include <avkon.rh>
00009 #include <avkon.rsg>
00010 #include <appinfo.rh>
00011 #include "AOLabTextFlash.hrh"
00012 #include "AOLabTextFlash.rls"
00013 
00014 //  RESOURCE DEFINITIONS
00015 // -----------------------------------------------------------------------------
00016 //
00017 //    Define the resource file signature
00018 //    This resource should be empty.
00019 //
00020 // -----------------------------------------------------------------------------
00021 //
00022 RESOURCE RSS_SIGNATURE
00023     {
00024     }
00025 
00026 // -----------------------------------------------------------------------------
00027 //
00028 //    Default Document Name
00029 //
00030 // -----------------------------------------------------------------------------
00031 //
00032 RESOURCE TBUF r_default_document_name
00033     {
00034     buf="HEWB";
00035     }
00036 
00037 // -----------------------------------------------------------------------------
00038 //
00039 //    Define default menu and CBA key.
00040 //
00041 // -----------------------------------------------------------------------------
00042 //
00043 RESOURCE EIK_APP_INFO
00044     {
00045     menubar = r_menubar;
00046     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00047     }
00048 
00049 
00050 // -----------------------------------------------------------------------------
00051 //
00052 //   r_menubar
00053 //   Main menubar
00054 //
00055 // -----------------------------------------------------------------------------
00056 //
00057 RESOURCE MENU_BAR r_menubar
00058     {
00059     titles =
00060         {
00061         MENU_TITLE { menu_pane = r_menu; }
00062         };
00063     }
00064 
00065 
00066 // -----------------------------------------------------------------------------
00067 //
00068 //   r_menu
00069 //   Menu for "Options"
00070 //
00071 // -----------------------------------------------------------------------------
00072 //
00073 RESOURCE MENU_PANE r_menu
00074     {
00075     items =
00076         {
00077         // added the new Options menu command here
00078         MENU_ITEM
00079                 {
00080                 command = ECommandFlashText;
00081                 txt = qtn_command_startflashing;
00082                 },
00083         MENU_ITEM
00084                 {
00085                 command = EAknSoftkeyExit;
00086                 txt = qtn_exit;
00087                 }
00088         };
00089     }
00090 
00091 // -----------------------------------------------------------------------------
00092 //
00093 // Resources for messages.
00094 //
00095 // -----------------------------------------------------------------------------
00096 //
00097 RESOURCE TBUF32 r_command_startflashing
00098     {
00099     buf=qtn_command_startflashing;
00100     }
00101 
00102 RESOURCE TBUF32 r_command_stopflashing
00103     {
00104     buf=qtn_command_stopflashing;
00105     }
00106 
00107 // ---------------------------------------------------------------------------- 
00108 //
00109 // r_localisable_app_info
00110 //
00111 // ---------------------------------------------------------------------------- 
00112 //
00113 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
00114     {
00115     short_caption = qtn_caption_string;
00116     caption_and_icon = 
00117     CAPTION_AND_ICON_INFO
00118         {
00119         caption = qtn_caption_string;
00120 
00121         number_of_icons = 1;
00122                 icon_file = "\\resource\\apps\\AOLabTextFlash.mif";
00123             };
00124     }
00125 
00126 // End of File

Generated by  doxygen 1.6.2