examples/ForumNokia/Symbian_OS_Basics_Lab_Exercises_v3_1/Lab_04309.cb2/solution/data/AOLabBubbleSort.rss

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

Generated by  doxygen 1.6.2