applaunchservices/aftermarketappstarter/test/tamastarter/resource/emulator/tamastarter_amaadder_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
   296 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
   293 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
   297 	{
   294 	{
   298 	severity = ECmdCriticalSeverity;
   295 	severity = ECmdCriticalSeverity;
   299 	}
   296 	}
   300 
   297 
   301 RESOURCE SSM_START_CUSTOM_COMMAND r_increment_boot_count
   298 
   302 	{
       
   303 	severity = ECmdCriticalSeverity;
       
   304 	execution_behaviour = ESsmWaitForSignal;
       
   305 	dllname = "cmncustomcmds.dll";
       
   306 	ordinal = 1; // Persist reboots custom command is at ordinal 1
       
   307 	dll_data = r_increment;
       
   308 	}
       
   309 
       
   310 RESOURCE SSM_COMMAND_PERSIST_REBOOTS r_increment
       
   311 	{
       
   312 	val = EIncrementBootCount;
       
   313 	}
       
   314 	
       
   315 RESOURCE SSM_START_PROCESS_INFO r_command_tamastarter_amaadder
   299 RESOURCE SSM_START_PROCESS_INFO r_command_tamastarter_amaadder
   316 	{
   300 	{
   317 	name = "tamastarter_amaadder.exe";
   301 	name = "tamastarter_amaadder.exe";
   318 	execution_behaviour = ESsmWaitForSignal;
   302 	execution_behaviour = ESsmWaitForSignal;
   319 	}
   303 	}