systemhealthmanagement/systemhealthmgr/test/tsysmon/resource/emulator/appfwk-sysmon-0042_emulator0.rss
changeset 74 9d35fd98f273
parent 0 4e1aa6a622a0
equal deleted inserted replaced
69:dc67b94625c5 74:9d35fd98f273
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    17 // 
    17 // 
    18 //
    18 //
    19 
    19 
    20 #include <ssm/ssmcmd.rh>
    20 #include <ssm/ssmcmd.rh>
    21 #include <ssm/ssmsubstates.hrh>
    21 #include <ssm/ssmsubstates.hrh>
    22 #include <ssm/cmdpersistreboots.rh>
       
    23 #include <ssm/cmdpersistreboots.hrh>
       
    24 
    22 
    25 UID2 KUidSsmCommandListResourceFile
    23 UID2 KUidSsmCommandListResourceFile
    26 
    24 
    27 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file.
    25 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file.
    28 // The SSM relies on this having a resource ID of 1.
    26 // The SSM relies on this having a resource ID of 1.
    61 
    59 
    62 RESOURCE SSM_COMMAND_LIST r_critical_static_commands
    60 RESOURCE SSM_COMMAND_LIST r_critical_static_commands
    63    	{
    61    	{
    64 	commands =
    62 	commands =
    65 		{
    63 		{
    66 		r_increment_boot_count
    64 		r_command_publish_system_state
    67 		, r_command_publish_system_state
       
    68 		, r_command_ssmutilsrv
    65 		, r_command_ssmutilsrv
    69 		, r_command_sysmon
    66 		, r_command_sysmon
    70 		, r_command_sysagt2svr
    67 		, r_command_sysagt2svr
    71 		, r_command_fbserv
    68 		, r_command_fbserv
    72 		, r_command_wserv
    69 		, r_command_wserv
   289 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
   286 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
   290 	{
   287 	{
   291 	severity = ECmdCriticalSeverity;
   288 	severity = ECmdCriticalSeverity;
   292 	}
   289 	}
   293 
   290 
   294 RESOURCE SSM_START_CUSTOM_COMMAND r_increment_boot_count
   291 
   295 	{
       
   296 	severity = ECmdCriticalSeverity;
       
   297 	execution_behaviour = ESsmWaitForSignal;
       
   298 	dllname = "cmncustomcmds.dll";
       
   299 	ordinal = 1; // Persist reboots custom command is at ordinal 1
       
   300 	dll_data = r_increment;
       
   301 	}
       
   302 
       
   303 RESOURCE SSM_COMMAND_PERSIST_REBOOTS r_increment
       
   304 	{
       
   305 	val = EIncrementBootCount;
       
   306 	}
       
   307 
   292 
   308 RESOURCE SSM_START_PROCESS_INFO r_command_app_restartfailwithmode2
   293 RESOURCE SSM_START_PROCESS_INFO r_command_app_restartfailwithmode2
   309 	{
   294 	{
   310 	name = "tsysmon_app_restartfailwithmode2.exe";
   295 	name = "tsysmon_app_restartfailwithmode2.exe";
   311 	args = "APPFWK-SYSMON-0042";
   296 	args = "APPFWK-SYSMON-0042";