systemhealthmanagement/systemhealthmgr/test/tsysmon/resource/hardware/appfwk-sysmon-0054_hardware0.rss
changeset 70 653a8b91b95e
parent 0 4e1aa6a622a0
equal deleted inserted replaced
64:61992147389a 70:653a8b91b95e
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-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".
    19 // 
    19 // 
    20 //
    20 //
    21 
    21 
    22 #include <ssm/ssmcmd.rh>
    22 #include <ssm/ssmcmd.rh>
    23 #include <ssm/ssmsubstates.hrh>
    23 #include <ssm/ssmsubstates.hrh>
    24 #include <ssm/cmdpersistreboots.rh>
       
    25 #include <ssm/cmdpersistreboots.hrh>
       
    26 
    24 
    27 UID2 KUidSsmCommandListResourceFile
    25 UID2 KUidSsmCommandListResourceFile
    28 
    26 
    29 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file.
    27 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file.
    30 // The SSM relies on this having a resource ID of 1.
    28 // The SSM relies on this having a resource ID of 1.
    63 
    61 
    64 RESOURCE SSM_COMMAND_LIST r_critical_static_commands
    62 RESOURCE SSM_COMMAND_LIST r_critical_static_commands
    65    	{
    63    	{
    66 	commands =
    64 	commands =
    67 		{
    65 		{
    68 		r_increment_boot_count
    66 		r_command_publish_system_state
    69 		, r_command_publish_system_state
       
    70 		, r_command_ssmutilsrv
    67 		, r_command_ssmutilsrv
    71 		, r_command_sysmon
    68 		, r_command_sysmon
    72 		, r_command_sysagt2svr
    69 		, r_command_sysagt2svr
    73 		, r_command_fbserv
    70 		, r_command_fbserv
    74 		, r_command_wserv
    71 		, r_command_wserv
   291 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
   288 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
   292 	{
   289 	{
   293 	severity = ECmdCriticalSeverity;
   290 	severity = ECmdCriticalSeverity;
   294 	}
   291 	}
   295 
   292 
   296 RESOURCE SSM_START_CUSTOM_COMMAND r_increment_boot_count
   293 
   297 	{
       
   298 	severity = ECmdCriticalSeverity;
       
   299 	execution_behaviour = ESsmWaitForSignal;
       
   300 	dllname = "cmncustomcmds.dll";
       
   301 	ordinal = 1; // Persist reboots custom command is at ordinal 1
       
   302 	dll_data = r_increment;
       
   303 	}
       
   304 
       
   305 RESOURCE SSM_COMMAND_PERSIST_REBOOTS r_increment
       
   306 	{
       
   307 	val = EIncrementBootCount;
       
   308 	}
       
   309 
   294 
   310 RESOURCE SSM_START_PROCESS_INFO r_command_app_failecnorcount1fail
   295 RESOURCE SSM_START_PROCESS_INFO r_command_app_failecnorcount1fail
   311 	{
   296 	{
   312 	name = "tsysmon_app_failecnorcount1fail.exe";
   297 	name = "tsysmon_app_failecnorcount1fail.exe";
   313 	args = "APPFWK-SYSMON-0054";
   298 	args = "APPFWK-SYSMON-0054";