systemhealthmanagement/systemhealthmgr/test/tsysmon/resource/emulator/appfwk-sysmon-0043_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
   306 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
   303 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
   307 	{
   304 	{
   308 	severity = ECmdCriticalSeverity;
   305 	severity = ECmdCriticalSeverity;
   309 	}
   306 	}
   310 
   307 
   311 RESOURCE SSM_START_CUSTOM_COMMAND r_increment_boot_count
   308 
   312 	{
       
   313 	severity = ECmdCriticalSeverity;
       
   314 	execution_behaviour = ESsmWaitForSignal;
       
   315 	dllname = "cmncustomcmds.dll";
       
   316 	ordinal = 1; // Persist reboots custom command is at ordinal 1
       
   317 	dll_data = r_increment;
       
   318 	}
       
   319 
       
   320 RESOURCE SSM_COMMAND_PERSIST_REBOOTS r_increment
       
   321 	{
       
   322 	val = EIncrementBootCount;
       
   323 	}
       
   324