www.pudn.com > ExeLauncher.zip > ExeLauncher.rss
/* * ============================================================================ * Name : ExeLauncher.rss * Part of : ExeLauncher * Created : 01.09.2005 by Artem Marchenko * Description: * This file contains all the resources for the ExeLauncher. * Initial content was generated by Series 60 Application Wizard. * Version : 1.0 * Copyright: Artem Marchenko 2005 * ============================================================================ */ // RESOURCE IDENTIFIER NAME EXEL // 4 letter ID // INCLUDES #include#include "ExeLauncher.hrh" #include "ExeLauncher.loc" #include #include #include // RESOURCE DEFINITIONS RESOURCE RSS_SIGNATURE { } RESOURCE TBUF { buf = "ExeLauncher"; } RESOURCE EIK_APP_INFO { hotkeys = r_exelauncher_hotkeys; menubar = r_exelauncher_menubar; cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT; } //---------------------------------------------------- // // r_exelauncher_hotkeys // //---------------------------------------------------- // RESOURCE HOTKEYS r_exelauncher_hotkeys { control = { HOTKEY { command = EAknCmdExit; key='e'; } }; } //---------------------------------------------------- // // r_exelauncher_menubar // //---------------------------------------------------- // RESOURCE MENU_BAR r_exelauncher_menubar { titles = { MENU_TITLE { menu_pane = r_exelauncher_menu; txt = "File"; } }; } //---------------------------------------------------- // // r_exelauncher_menu // //---------------------------------------------------- // RESOURCE MENU_PANE r_exelauncher_menu { items = { MENU_ITEM { command = EExeLauncherCmdAppRun; txt = qtn_appl_run; }, MENU_ITEM { command = EExeLauncherCmdAppEdit; txt = qtn_appl_edit; }, MENU_ITEM { command = EAknCmdExit; txt = qtn_appl_exit; } }; } // List of files to run RESOURCE AVKON_SETTING_ITEM_LIST r_exelauncher_file_list { flags = EAknSettingItemNumberedStyle; title = ""; // Three filename slots items = { AVKON_SETTING_ITEM { identifier = EELFileItem1; name = qtn_fl_item1_title; // points to the resource page setting_page_resource = r_exel_filelist_item1; }, AVKON_SETTING_ITEM { identifier = EELFileItem2; name = qtn_fl_item2_title; setting_page_resource = r_exel_filelist_item2; }, AVKON_SETTING_ITEM { identifier = EELFileItem3; name = qtn_fl_item3_title; setting_page_resource = r_exel_filelist_item3; } }; } RESOURCE AVKON_SETTING_PAGE r_exel_filelist_item1 { number = EELFileItem1; // Text, that for a short time appears on the top bar, when // editor page is opened hint_text = ""; // Item label label = qtn_fl_item1_title; // Type of control in the page type = EEikCtEdwin; // Control data is not just an real id, but a reference to the control resource data editor_resource_id = r_exel_filelist_item1_editor; } RESOURCE EDWIN r_exel_filelist_item1_editor { width = EELEdwinWidth; lines = EELEdwinLines; maxlength = EELEdwinMaxLength; } RESOURCE AVKON_SETTING_PAGE r_exel_filelist_item2 { number = EELFileItem2; hint_text = ""; label = qtn_fl_item2_title; type = EEikCtEdwin; editor_resource_id = r_exel_filelist_item2_editor; } RESOURCE EDWIN r_exel_filelist_item2_editor { width = EELEdwinWidth; lines = EELEdwinLines; maxlength = EELEdwinMaxLength; } RESOURCE AVKON_SETTING_PAGE r_exel_filelist_item3 { number = EELFileItem3; hint_text = ""; label = qtn_fl_item3_title; type = EEikCtEdwin; editor_resource_id = r_exel_filelist_item3_editor; } RESOURCE EDWIN r_exel_filelist_item3_editor { width = EELEdwinWidth; lines = EELEdwinLines; maxlength = EELEdwinMaxLength; } // Default text strings RESOURCE TBUF r_exel_item1_text { buf = qtn_fl_item1_text; } RESOURCE TBUF r_exel_item2_text { buf = qtn_fl_item2_text; } RESOURCE TBUF r_exel_item3_text { buf = qtn_fl_item3_text; } // Error text to show if user tries to run non-existing file RESOURCE TBUF r_exel_error_not_found { buf = qtn_error_not_found_text; } // End of File