- // Copyright (c) 2006 Nokia Corporation.
- // RESOURCE IDENTIFIER
- NAME AOLA // 4 letter ID
- // INCLUDES
- #include <eikon.rh>
- #include <avkon.rh>
- #include <avkon.rsg>
- #include <appinfo.rh>
- #include "AOLabTextFlash.hrh"
- #include "AOLabTextFlash.rls"
- // RESOURCE DEFINITIONS
- // -----------------------------------------------------------------------------
- //
- // Define the resource file signature
- // This resource should be empty.
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE RSS_SIGNATURE
- {
- }
- // -----------------------------------------------------------------------------
- //
- // Default Document Name
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE TBUF r_default_document_name
- {
- buf="HEWB";
- }
- // -----------------------------------------------------------------------------
- //
- // Define default menu and CBA key.
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE EIK_APP_INFO
- {
- menubar = r_menubar;
- cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
- }
- // -----------------------------------------------------------------------------
- //
- // r_menubar
- // Main menubar
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE MENU_BAR r_menubar
- {
- titles =
- {
- MENU_TITLE { menu_pane = r_menu; }
- };
- }
- // -----------------------------------------------------------------------------
- //
- // r_menu
- // Menu for "Options"
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE MENU_PANE r_menu
- {
- items =
- {
- // added the new Options menu command here
- MENU_ITEM
- {
- command = ECommandFlashText;
- txt = qtn_command_startflashing;
- },
- MENU_ITEM
- {
- command = EAknSoftkeyExit;
- txt = qtn_exit;
- }
- };
- }
- // -----------------------------------------------------------------------------
- //
- // Resources for messages.
- //
- // -----------------------------------------------------------------------------
- //
- RESOURCE TBUF32 r_command_startflashing
- {
- buf=qtn_command_startflashing;
- }
- RESOURCE TBUF32 r_command_stopflashing
- {
- buf=qtn_command_stopflashing;
- }
- // ----------------------------------------------------------------------------
- //
- // r_localisable_app_info
- //
- // ----------------------------------------------------------------------------
- //
- RESOURCE LOCALISABLE_APP_INFO r_localisable_app_info
- {
- short_caption = qtn_caption_string;
- caption_and_icon =
- CAPTION_AND_ICON_INFO
- {
- caption = qtn_caption_string;
- number_of_icons = 1;
- icon_file = "\resource\apps\AOLabTextFlash.mif";
- };
- }
- // End of File