--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/launcher/data/launcher.rss Tue Feb 02 00:17:27 2010 +0200
@@ -0,0 +1,445 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+
+
+
+NAME MATT
+
+#include <eikon.rh>
+#include <eikon.rsg>
+#include <avkon.rh>
+#include <avkon.rsg>
+#include <avkon.mbg>
+#include <AvkonIcons.hrh>
+
+#include "launcher.hrh"
+#include <data_caging_paths_strings.hrh>
+#include <appinfo.rh>
+#include <CommonDialogs.hrh> // Enumerations
+#include <CommonDialogs.rh> // Resource structures
+
+
+// ---------------------------------------------------------
+//
+// Define the resource file signature
+// This resource should be empty.
+//
+// ---------------------------------------------------------
+//
+RESOURCE RSS_SIGNATURE { }
+
+// ---------------------------------------------------------
+//
+// Default Document Name
+//
+// ---------------------------------------------------------
+//
+RESOURCE TBUF r_default_document_name { buf=""; }
+
+// ---------------------------------------------------------
+//
+// Define default menu and CBA key.
+//
+// ---------------------------------------------------------
+//
+RESOURCE EIK_APP_INFO
+ {
+ status_pane = r_launcher_status_pane;
+ //menubar = r_launcher_menubar;
+ //cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
+ }
+
+
+//----------------------------------------------------
+//
+// r_launcher_hotkeys
+//
+//----------------------------------------------------
+//
+RESOURCE HOTKEYS r_launcher_hotkeys
+ {
+ control=
+ {
+ HOTKEY { command=EAknCmdExit; key='e'; }
+ };
+ }
+
+
+//----------------------------------------------------
+//
+// r_launcher_view1
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_launcher_view1
+ {
+ hotkeys=r_launcher_hotkeys;
+ menubar=r_launcher_menubar_view1;
+ cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
+ }
+
+//----------------------------------------------------
+//
+// r_launcher_menubar_view1
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_BAR r_launcher_menubar_view1
+ {
+ titles=
+ {
+ MENU_TITLE { menu_pane=r_launcher_app_menu; txt="App"; },
+ MENU_TITLE { menu_pane=r_launcher_view1_menu; txt="View"; }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_launcher_view1_menu
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_PANE r_launcher_view1_menu
+ {
+ items=
+ {
+ MENU_ITEM { command=ECmdLaunchApps; cascade=r_launcher_launchapps_submenu; txt="Launch apps"; },
+ MENU_ITEM { command=ECmdLaunchOptions; cascade=r_launcher_launchoptions_submenu; txt = "Launch options"; },
+ MENU_ITEM { command=ECmdRefreshList; txt = "Refresh list"; },
+ MENU_ITEM { command=EAknMarkAll; txt="Select all"; },
+ MENU_ITEM { command=EAknUnmarkAll; txt="Unselect all"; }
+ };
+ }
+
+RESOURCE MENU_PANE r_launcher_launchapps_submenu
+ {
+ items =
+ {
+ MENU_ITEM { command=ECmdLaunchAppsWithAutoClose; txt="Autoclose"; },
+ MENU_ITEM { command=ECmdLaunchAppsWithoutAutoClose; txt="No autoclose"; }
+ };
+ }
+
+RESOURCE MENU_PANE r_launcher_launchoptions_submenu
+ {
+ items =
+ {
+ MENU_ITEM { command=ECmdSkipHiddenAndEmbedOnly; txt="Skip hidden & embed"; flags = EEikMenuItemRadioStart | EEikMenuItemSymbolOn; },
+ MENU_ITEM { command=ECmdDoNotSkipAnyFiles; txt="Do not skip any entries"; flags = EEikMenuItemRadioEnd; }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_launcher_view2
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_launcher_view2
+ {
+ hotkeys=r_launcher_hotkeys;
+ menubar=r_launcher_menubar_view2;
+ cba=R_AVKON_SOFTKEYS_OPTIONS_EXIT;
+ }
+
+//----------------------------------------------------
+//
+// r_launcher_menubar_view2
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_BAR r_launcher_menubar_view2
+ {
+ titles=
+ {
+ MENU_TITLE { menu_pane=r_launcher_app_menu; txt="App"; },
+ MENU_TITLE { menu_pane=r_launcher_view2_menu; txt="View"; }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_launcher_view2_menu
+// ?description
+//
+//----------------------------------------------------
+//
+RESOURCE MENU_PANE r_launcher_view2_menu
+ {
+ items=
+ {
+ MENU_ITEM { command=ECmdClearWindow; txt = "Clear window"; }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_launcher_view3
+//
+//----------------------------------------------------
+//
+RESOURCE AVKON_VIEW r_launcher_view3
+ {
+ hotkeys=r_launcher_hotkeys;
+ cba=R_AVKON_SOFTKEYS_QUIT;
+ }
+
+
+//----------------------------------------------------
+//
+// r_launcher_app_menu
+//
+//----------------------------------------------------
+//
+
+RESOURCE MENU_PANE r_launcher_app_menu
+ {
+ items=
+ {
+ MENU_ITEM { command=ECmdDLLInfo; cascade=r_launcher_dllinfo_submenu; txt = "DLL info"; },
+ MENU_ITEM { command=ECmdStopLaunch; txt = "Stop launch"; },
+ MENU_ITEM { command=ECmdDeleteLog; txt = "Delete log(s)"; },
+ MENU_ITEM { command=ECmdAbout; txt = "About"; },
+ MENU_ITEM { command=EAknCmdExit; txt="Exit"; }
+ };
+ }
+
+RESOURCE MENU_PANE r_launcher_dllinfo_submenu
+ {
+ items =
+ {
+ MENU_ITEM { command=ECmdCompareDLLs; txt="DLL BC Analysis"; }
+ };
+ }
+
+//----------------------------------------------------
+
+RESOURCE STATUS_PANE_APP_MODEL r_launcher_status_pane
+ {
+ panes=
+ {
+ SPANE_PANE
+ {
+ id = EEikStatusPaneUidNavi;
+ type = EAknCtNaviPane;
+ resource = r_launcher_navi_decorator;
+ }
+ };
+ }
+
+//----------------------------------------------------
+//
+// r_launcher_navi_decorator
+// ?description
+//
+//----------------------------------------------------
+//
+RESOURCE NAVI_DECORATOR r_launcher_navi_decorator
+ {
+ type = ENaviDecoratorControlTabGroup;
+ control = TAB_GROUP
+ {
+ tab_width = EAknTabWidthWithTwoTabs;
+ active = 0;
+ tabs = {
+ TAB
+ {
+ id = ELauncherView1Tab;
+ txt = "Apps";
+ },
+ TAB
+ {
+ id = ELauncherView2Tab;
+ txt = "Out";
+ }
+ };
+ };
+ }
+
+
+// ---------------------------------------------------------
+//
+// r_launcher_about_dialog
+// About dialog - show version and copyright info etc.
+//
+// ---------------------------------------------------------
+//
+
+RESOURCE DIALOG r_launcher_about_dialog
+{
+ flags = EGeneralQueryFlags | EEikDialogFlagNoBorder | EEikDialogFlagNoShadow;
+ buttons = R_AVKON_SOFTKEYS_OK_EMPTY;
+ items=
+ {
+ DLG_LINE
+ {
+ type = EAknCtPopupHeadingPane;
+ id = EAknMessageQueryHeaderId;
+ control = AVKON_HEADING
+ {
+ label = "About Launcher";
+ headinglayout = R_AVKON_WML_SIGN_QUERY_HEADING_PANE;
+ };
+ },
+ DLG_LINE
+ {
+ type = EAknCtMessageQuery;
+ id = EAknMessageQueryContentId;
+ control = AVKON_MESSAGE_QUERY
+ {
+ message = "Version 3.7.0 - 29th May 2009. Copyright © 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved. Licensed under Eclipse Public License v1.0.";
+ };
+ }
+ };
+}
+
+// ---------------------------------------------------------
+//
+// r_yes_no_dialog
+//
+//
+// ---------------------------------------------------------
+//
+RESOURCE DIALOG r_yes_no_dialog
+ {
+ flags = EGeneralQueryFlags;
+ buttons = R_AVKON_SOFTKEYS_YES_NO;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtQuery;
+ id = EYesNoQuery;
+ control = AVKON_CONFIRMATION_QUERY
+ {
+ layout = EConfirmationQueryLayout;
+ label = "";
+ };
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_general_progress_note
+//
+//
+// ---------------------------------------------------------
+//
+RESOURCE DIALOG r_general_progress_note
+ {
+ flags = EAknProgressNoteFlags;
+ buttons = R_AVKON_SOFTKEYS_CANCEL;
+ items=
+ {
+ DLG_LINE
+ {
+ type = EAknCtNote;
+ id = EProgressNote;
+ control = AVKON_NOTE
+ {
+ layout = EProgressLayout;
+ singular_label = "Analysing DLLs";
+ };
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_general_wait_note
+//
+//
+// ---------------------------------------------------------
+//
+RESOURCE DIALOG r_general_wait_note
+ {
+ flags = EAknWaitNoteFlags | EEikDialogFlagNotifyEsc;
+ buttons = R_AVKON_SOFTKEYS_CANCEL;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtNote;
+ id = EWaitNote;
+ control= AVKON_NOTE
+ {
+ layout = EWaitLayout;
+ animation = R_QGN_GRAF_WAIT_BAR_ANIM;
+ };
+ }
+ };
+ }
+
+// ---------------------------------------------------------
+//
+// r_memory_selection_dialog
+//
+//
+// ---------------------------------------------------------
+//
+RESOURCE MEMORYSELECTIONDIALOG r_memory_selection_dialog
+{
+title = "Choose memory:";
+}
+
+// ---------------------------------------------------------
+//
+// r_file_selection_dialog
+//
+//
+// ---------------------------------------------------------
+//
+RESOURCE FILESELECTIONDIALOG r_file_selection_dialog
+{
+title = "Select input file:";
+//root_path = "C:\\Data\\";
+filters =
+{
+FILTER
+{
+filter_type = EAttributeFilter;
+filter_style = EExclusiveFilter;
+filter_data = { "SH", "R" }; // Excludes system, hidden and read-only attributes
+}
+};
+}
+
+// ---------------------------------------------------------
+//
+// New framework:
+// Secure platform and scalable UI changes
+//
+// ---------------------------------------------------------
+//
+RESOURCE LOCALISABLE_APP_INFO r_launcher_localisable_app_info
+ {
+ short_caption = "Launcher";
+ caption_and_icon =
+ CAPTION_AND_ICON_INFO
+ {
+ caption = "Launcher";
+
+ number_of_icons = 1;
+
+ // Note for ROM-based apps it is recommended to add the drive letter
+ // icon_file = "z:"APP_BITMAP_DIR"\\myapp_aif.mif";
+ icon_file = APP_BITMAP_DIR"\\launcher_aif.mif";
+ };
+ }
+