examples/ForumNokia/Symbian_OS_Basics_Lab_Exercises_v3_1/Lab_04308.cb1/solution/data/S60ClientServerLab.rss

00001 // Copyright (c) 2006 Nokia Corporation.
00002 
00003 //  RESOURCE IDENTIFIER
00004 NAME S60C    // 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 "S60ClientServerLab.hrh"
00013 #include "S60ClientServerLab.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_BACK;
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         MENU_ITEM { command=EAknCmdExit;
00079                     txt=qtn_command_exit; },
00080         MENU_ITEM { command=ES60ClientServLabCmdWriteFile;
00081                     txt=qtn_command_writetofile; }
00082         };
00083     }
00084 
00085 // ---------------------------------------------------------------------------- 
00086 //
00087 // r_localisable_app_info
00088 //
00089 // ---------------------------------------------------------------------------- 
00090 //
00091 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
00092     {
00093     short_caption = qtn_caption_string;
00094     caption_and_icon = 
00095     CAPTION_AND_ICON_INFO
00096         {
00097         caption = qtn_caption_string;
00098 
00099         number_of_icons = 1;
00100                 icon_file = "\\resource\\apps\\S60ClientServerLab.mif";
00101             };
00102     }
00103 
00104 // End of File

Generated by  doxygen 1.6.2