sl@0: /* sl@0: * Copyright (c) 2005-2006 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: // RESOURCE IDENTIFIER sl@0: NAME TELA // 4 letter ID sl@0: sl@0: sl@0: // INCLUDES sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: #include sl@0: #include "testlauncher.hrh" sl@0: #include "testlauncher.rls" sl@0: sl@0: // RESOURCE DEFINITIONS sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: // Define the resource file signature sl@0: // This resource should be empty. sl@0: // sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: RESOURCE RSS_SIGNATURE sl@0: { sl@0: } sl@0: sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: // Default Document Name sl@0: // sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: RESOURCE TBUF r_default_document_name sl@0: { sl@0: buf="TELA"; sl@0: } sl@0: sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: // Define default menu and CBA key. sl@0: // sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: RESOURCE EIK_APP_INFO sl@0: { sl@0: menubar = r_helloworldbasic_menubar; sl@0: cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; sl@0: } sl@0: sl@0: sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: // r_helloworldbasic_menubar sl@0: // Menubar for HelloWorldBasic example sl@0: // sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: RESOURCE MENU_BAR r_helloworldbasic_menubar sl@0: { sl@0: titles = sl@0: { sl@0: MENU_TITLE { menu_pane = r_helloworldbasic_menu; } sl@0: }; sl@0: } sl@0: sl@0: sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: // r_helloworldbasic_menu sl@0: // Menu for "Options" sl@0: // sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: RESOURCE MENU_PANE r_helloworldbasic_menu sl@0: { sl@0: items = sl@0: { sl@0: // added the new Options menu command here sl@0: MENU_ITEM sl@0: { sl@0: command = EHelloWorldBasicCommand1; sl@0: txt = STRING_r_hewb_command1; sl@0: }, sl@0: MENU_ITEM sl@0: { sl@0: command = EAknSoftkeyExit; sl@0: txt = STRING_r_hewb_exit; sl@0: } sl@0: }; sl@0: } sl@0: sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: // Resources for messages. sl@0: // sl@0: // ----------------------------------------------------------------------------- sl@0: // sl@0: RESOURCE TBUF32 r_hewb_command1_text { buf=STRING_r_hewb_command1_text; } sl@0: RESOURCE TBUF32 r_hewb_file_text { buf=STRING_r_hewb_file_text; } sl@0: RESOURCE TBUF32 r_hewb_caption_string { buf=STRING_r_hewb_caption_string; } sl@0: sl@0: // ---------------------------------------------------------------------------- sl@0: // sl@0: // r_helloworldbasic_localisable_app_info sl@0: // sl@0: // ---------------------------------------------------------------------------- sl@0: // sl@0: RESOURCE LOCALISABLE_APP_INFO r_helloworldbasic_localisable_app_info sl@0: { sl@0: short_caption = STRING_r_hewb_caption_string; sl@0: caption_and_icon = sl@0: CAPTION_AND_ICON_INFO sl@0: { sl@0: caption = STRING_r_hewb_caption_string; sl@0: sl@0: number_of_icons = 1; sl@0: icon_file = APP_BITMAP_DIR"\\testlauncher_aif.mif"; sl@0: }; sl@0: } sl@0: sl@0: // ---------------------------------------------------------------------------- sl@0: // sl@0: // r_dialog_text_edit_query sl@0: // sl@0: // ---------------------------------------------------------------------------- sl@0: // sl@0: RESOURCE DIALOG r_dialog_text_edit_query sl@0: { sl@0: flags = EGeneralQueryFlags; sl@0: buttons = R_AVKON_SOFTKEYS_OK_CANCEL; sl@0: items = sl@0: { sl@0: DLG_LINE sl@0: { sl@0: type = EAknCtQuery; sl@0: id = EGeneralQuery; sl@0: control = AVKON_DATA_QUERY sl@0: { sl@0: layout = EDataLayout; sl@0: label = ""; sl@0: control = EDWIN sl@0: { sl@0: width = 32; sl@0: maxlength = 1024; sl@0: lines = 1; sl@0: }; sl@0: }; sl@0: } sl@0: }; sl@0: } sl@0: // End of File sl@0: