examples/SFExamples/symbian_os_communications_programming_book_v2/chapter9/SendWorkBench/SendWorkbenchS60/data/SendWorkbench.rss

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 
00017 //  RESOURCE IDENTIFIER
00018 NAME MYSA    // 4 letter ID
00019 
00020 
00021 //  INCLUDES
00022 #include <eikon.rh>
00023 #include <avkon.rh>
00024 #include <avkon.rsg>
00025 #include <appinfo.rh>
00026 #include "SendWorkbench.hrh"
00027 #include "SendWorkbench.rls"
00028 
00029 //  RESOURCE DEFINITIONS
00030 // -----------------------------------------------------------------------------
00031 //
00032 //    Define the resource file signature
00033 //    This resource should be empty.
00034 //
00035 // -----------------------------------------------------------------------------
00036 //
00037 RESOURCE RSS_SIGNATURE
00038     {
00039     }
00040 
00041 // -----------------------------------------------------------------------------
00042 //
00043 //    Default Document Name
00044 //
00045 // -----------------------------------------------------------------------------
00046 //
00047 RESOURCE TBUF r_default_document_name
00048     {
00049     buf="Send";
00050     }
00051 
00052 // -----------------------------------------------------------------------------
00053 //
00054 //    Define default menu and CBA key.
00055 //
00056 // -----------------------------------------------------------------------------
00057 //
00058 RESOURCE EIK_APP_INFO
00059     {
00060     menubar = r_menubar;
00061     cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00062     }
00063 
00064 
00065 // -----------------------------------------------------------------------------
00066 //
00067 //   r_menubar
00068 //   Main menubar
00069 //
00070 // -----------------------------------------------------------------------------
00071 //
00072 RESOURCE MENU_BAR r_menubar
00073     {
00074     titles =
00075         {
00076         MENU_TITLE { menu_pane = r_menu; }
00077         };
00078     }
00079 
00080 
00081 // -----------------------------------------------------------------------------
00082 //
00083 //   r_menu
00084 //   Menu for "Options"
00085 //
00086 // -----------------------------------------------------------------------------
00087 //                
00088 
00089 RESOURCE MENU_PANE r_menu
00090     {
00091     
00092     items =
00093         {
00094         // added the new Options menu command here
00095         MENU_ITEM
00096                 {
00097                 command = ECommandSendText;
00098                 txt = qtn_send_text_command;
00099                 },
00100        MENU_ITEM
00101                 {
00102                 command = ECommandSendAndEditText;
00103                 txt = qtn_send_and_edit_text_command;
00104                 },                                                
00105                        
00106         MENU_ITEM
00107                 {
00108                 command = EAknSoftkeyExit;
00109                 txt = qtn_exit;
00110                 }
00111         };
00112     }
00113 
00114 
00115 // -----------------------------------------------------------------------------
00116 //
00117 // r_localisable_app_info
00118 //
00119 // ---------------------------------------------------------------------------- 
00120 //
00121 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
00122     {
00123     short_caption = qtn_caption_string;
00124     caption_and_icon = 
00125     CAPTION_AND_ICON_INFO
00126         {
00127         caption = qtn_caption_string;
00128 
00129         number_of_icons = 1;
00130                 icon_file = "\\resource\\apps\\SendWorkbench.mif";
00131             };
00132     }
00133 
00134 // End of File

Generated by  doxygen 1.6.2