--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sysresmonitoring/oommonitor/tsrc/oomtest/t_oomtestapp/data/t_oomtestapp.rss Fri Feb 19 22:58:54 2010 +0200
@@ -0,0 +1,171 @@
+/*
+* Copyright (c) 2006 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:
+*
+*/
+
+
+
+
+// RESOURCE IDENTIFIER
+NAME T_OT // 4 letter ID
+
+// INCLUDES
+#include <eikon.rh>
+#include <avkon.rsg>
+#include <avkon.rh>
+#include <appinfo.rh>
+#include <commondialogs.hrh>
+#include <commondialogs.rh>
+#include "t_oomtestappcmd.hrh"
+
+// RESOURCE DEFINITIONS
+RESOURCE RSS_SIGNATURE
+ {
+ }
+
+RESOURCE TBUF r_default_document_name
+ {
+ buf="T_OT";
+ }
+
+RESOURCE EIK_APP_INFO
+ {
+ menubar = r_menubar;
+ cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
+ }
+
+RESOURCE MENU_BAR r_menubar
+ {
+ titles =
+ {
+ MENU_TITLE { menu_pane = r_menu; }
+ };
+ }
+
+RESOURCE MENU_PANE r_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EOomTestAppSelectConfig;
+ txt = "Select config xml";
+ },
+ MENU_ITEM
+ {
+ command = EOomTestAppToggleSystem;
+ txt = "Toggle system";
+ },
+ MENU_ITEM
+ {
+ command = EOomTestAppAllocMemory;
+ txt = "Alloc memory";
+ },
+ MENU_ITEM
+ {
+ command = EOomTestAppFreeMemory;
+ txt = "Free memory";
+ },
+ MENU_ITEM
+ {
+ command = EOomTestAppAllocMemWithPermission;
+ txt = "Alloc memory with permission";
+ },
+ MENU_ITEM
+ {
+ command = EOomTestAppSetPriority;
+ cascade = r_priority_menu;
+ txt = "Set priority";
+ },
+ MENU_ITEM
+ {
+ command = EAknSoftkeyExit;
+ txt = "Exit";
+ }
+ };
+ }
+
+RESOURCE MENU_PANE r_priority_menu
+ {
+ items =
+ {
+ MENU_ITEM
+ {
+ command = EOomTestAppSetPriorityNormal;
+ txt = "Normal";
+ },
+ MENU_ITEM
+ {
+ command = EOomTestAppSetPriorityHigh;
+ txt = "High";
+ },
+ MENU_ITEM
+ {
+ command = EOomTestAppSetPriorityBusy;
+ txt = "Busy";
+ }
+ };
+ }
+
+RESOURCE MEMORYSELECTIONDIALOG r_memory_selection
+ {
+ title = "";
+ softkey_1 = "Ok";
+ }
+
+RESOURCE FILESELECTIONDIALOG r_file_selection
+ {
+ title = "Select xml";
+ softkey_1_file = "Select";
+ softkey_1_folder = "Open";
+ softkey_2_root_level = "Cancel";
+ softkey_2_subfolder = "Back";
+ filters =
+ {
+ FILTER
+ {
+ filter_type = EFilenameFilter;
+ filter_style = EInclusiveFilter;
+ filter_data = { "*.xml" };
+ }
+ };
+ }
+
+RESOURCE DIALOG r_alloc_query
+ {
+ flags = EAknGeneralQueryFlags;
+ buttons = R_AVKON_SOFTKEYS_OK_CANCEL;
+ items =
+ {
+ DLG_LINE
+ {
+ type = EAknCtQuery;
+ id = EGeneralQuery;
+ control = AVKON_DATA_QUERY
+ {
+ layout = ENumberLayout;
+ label = "KBs to allocate";
+ control = AVKON_INTEGER_EDWIN
+ {
+ maxlength=10;
+ min = 0;
+ max = 0x7fffffff; // KMaxTInt
+ };
+ };
+ }
+ };
+ }
+
+// End of File