appfw/apparchitecture/tef/tssaac/tssaac_emulator_ssma.rss
changeset 81 676b6116ca93
parent 0 2e3d3ce01487
equal deleted inserted replaced
78:175a0d824084 81:676b6116ca93
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-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".
    15 // 
    15 // 
    16 //
    16 //
    17 
    17 
    18 #include <ssm/ssmcmd.rh>
    18 #include <ssm/ssmcmd.rh>
    19 #include <ssm/ssmsubstates.hrh>
    19 #include <ssm/ssmsubstates.hrh>
    20 #include <ssm/cmdpersistreboots.rh>
       
    21 #include <ssm/cmdpersistreboots.hrh>
       
    22 
    20 
    23 UID2 KUidSsmCommandListResourceFile
    21 UID2 KUidSsmCommandListResourceFile
    24 
    22 
    25 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file.
    23 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file.
    26 // The SSM relies on this having a resource ID of 1.
    24 // The SSM relies on this having a resource ID of 1.
    59 
    57 
    60 RESOURCE SSM_COMMAND_LIST r_critical_static_commands
    58 RESOURCE SSM_COMMAND_LIST r_critical_static_commands
    61    	{
    59    	{
    62 	commands =
    60 	commands =
    63 		{
    61 		{
    64 		r_increment_boot_count
    62 		r_command_publish_system_state
    65 		, r_command_publish_system_state
       
    66 		, r_command_ssmutilsrv
    63 		, r_command_ssmutilsrv
    67 		, r_command_sysmon
    64 		, r_command_sysmon
    68 		, r_command_sysagt2svr
    65 		, r_command_sysagt2svr
    69 		, r_command_fbserv
    66 		, r_command_fbserv
    70 		, r_command_wserv
    67 		, r_command_wserv
   293 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
   290 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
   294 	{
   291 	{
   295 	severity = ECmdCriticalSeverity;
   292 	severity = ECmdCriticalSeverity;
   296 	}
   293 	}
   297 
   294 
   298 RESOURCE SSM_START_CUSTOM_COMMAND r_increment_boot_count
   295 
   299 	{
       
   300 	severity = ECmdCriticalSeverity;
       
   301 	execution_behaviour = ESsmWaitForSignal;
       
   302 	dllname = "cmncustomcmds.dll";
       
   303 	ordinal = 1; // Persist reboots custom command is at ordinal 1
       
   304 	dll_data = r_increment;
       
   305 	}
       
   306 
       
   307 RESOURCE SSM_COMMAND_PERSIST_REBOOTS r_increment
       
   308 	{
       
   309 	val = EIncrementBootCount;
       
   310 	}
       
   311