examples/SFExamples/games_on_symbian_os_code/vibrapool/data/VibraPool.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:  This file contains all the resources for the VibraPool.
00015 // 
00016 // 
00017 
00018 //  RESOURCE IDENTIFIER
00019 NAME VIBR       // 4 letter ID
00020 
00021 
00022 //  INCLUDES
00023 #include <eikon.rh>
00024 #include <avkon.rsg>
00025 #include <avkon.rh>
00026 #include <appinfo.rh>
00027 #include "VibraPool.hrh"
00028 #include "VibraPool.rls"
00029 
00030 //  RESOURCE DEFINITIONS
00031 // -----------------------------------------------------------------------------
00032 //
00033 //      Define the resource file signature
00034 //      This resource should be empty.
00035 //
00036 // -----------------------------------------------------------------------------
00037 //
00038 RESOURCE RSS_SIGNATURE
00039         {
00040         }
00041 
00042 // -----------------------------------------------------------------------------
00043 //
00044 //      Default Document Name
00045 //
00046 // -----------------------------------------------------------------------------
00047 //
00048 RESOURCE TBUF r_default_document_name
00049         {
00050         buf="VIBR";
00051         }
00052 
00053 // -----------------------------------------------------------------------------
00054 //
00055 //      Define default menu and CBA key.
00056 //
00057 // -----------------------------------------------------------------------------
00058 //
00059 RESOURCE EIK_APP_INFO
00060         {
00061         menubar = r_menubar;
00062         cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
00063         }
00064 
00065 
00066 // -----------------------------------------------------------------------------
00067 //
00068 //   r_menubar
00069 //   Main menubar
00070 //
00071 // -----------------------------------------------------------------------------
00072 //
00073 RESOURCE MENU_BAR r_menubar
00074         {
00075         titles =
00076                 {
00077                 MENU_TITLE { menu_pane = r_menu; }
00078                 };
00079         }
00080 
00081 
00082 // -----------------------------------------------------------------------------
00083 //
00084 //   r_menu
00085 //   Menu for "Options"
00086 //
00087 // -----------------------------------------------------------------------------
00088 //
00089 RESOURCE MENU_PANE r_menu
00090         {
00091         items =
00092                 {
00093                 // added the new Options menu command here
00094                 MENU_ITEM
00095                                 {
00096                                 command = ERestart;
00097                                 txt = qtn_restart;
00098                                 },
00099                 MENU_ITEM
00100                                 {
00101                                 command = EStop;
00102                                 txt = qtn_stop;
00103                                 },
00104                 MENU_ITEM
00105                                 {
00106                                 command = EAknSoftkeyExit;
00107                                 txt = qtn_exit;
00108                                 }
00109                 };
00110         }
00111 
00112 // -----------------------------------------------------------------------------
00113 //
00114 // About dialog resource.
00115 //
00116 // -----------------------------------------------------------------------------
00117 //
00118 RESOURCE DIALOG r_about_query_dialog
00119         {
00120         flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
00121         buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
00122         items=
00123                 {
00124                 DLG_LINE 
00125                         {
00126                         type = EAknCtPopupHeadingPane;
00127                         id = EAknMessageQueryHeaderId;
00128                         itemflags = EEikDlgItemNonFocusing;
00129                         control = AVKON_HEADING
00130                                 {
00131                                 };
00132                         },
00133                 DLG_LINE
00134                         {
00135                         type = EAknCtMessageQuery;
00136                         id = EAknMessageQueryContentId;
00137                         control = AVKON_MESSAGE_QUERY
00138                                 {
00139                                 };
00140                         }
00141                 };
00142         }
00143 
00144 
00145 // -----------------------------------------------------------------------------
00146 //
00147 // Resources for messages.
00148 //
00149 // -----------------------------------------------------------------------------
00150 //
00151 RESOURCE TBUF32 r_caption_string { buf=qtn_caption_string; }
00152 RESOURCE TBUF32 r_about_dialog_title { buf=qtn_about_dialog_title; }
00153 RESOURCE TBUF r_about_dialog_text { buf=qtn_about_dialog_text; }
00154 RESOURCE TBUF r_command1_text { buf=qtn_command1_text; }
00155 
00156 
00157 // ---------------------------------------------------------------------------- 
00158 //
00159 // r_localisable_app_info
00160 //
00161 // ---------------------------------------------------------------------------- 
00162 //
00163 RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
00164         {
00165         short_caption = qtn_caption_string;
00166         caption_and_icon = 
00167         CAPTION_AND_ICON_INFO
00168                 {
00169                 caption = qtn_caption_string;
00170 
00171                 number_of_icons = 1;
00172                 icon_file = "\\resource\\apps\\VibraPool_0xE460ABF6.mif";
00173                 };
00174         }
00175 
00176 // End of File

Generated by  doxygen 1.6.2