sysstatemgmt/systemstateplugins/test/tintgsapolicy/resource/tgsa_flexiblemerge_diffss2.rss
branchRCL_3
changeset 22 8cb079868133
parent 21 ccb4f6b3db21
equal deleted inserted replaced
21:ccb4f6b3db21 22:8cb079868133
     1 // Copyright (c) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2008-2009 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".
    18 // 
    18 // 
    19 //
    19 //
    20 
    20 
    21 #include <ssm/ssmcmd.rh>
    21 #include <ssm/ssmcmd.rh>
    22 #include <ssm/ssmsubstates.hrh>
    22 #include <ssm/ssmsubstates.hrh>
    23 #include "ssmsubstateext.hrh"
       
    24 
    23 
    25 UID2 KUidSsmCommandListResourceFile
    24 UID2 KUidSsmCommandListResourceFile
    26 
    25 
    27 // SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file.
    26 // 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.
    27 // The SSM relies on this having a resource ID of 1.
    36 	{
    35 	{
    37 	mappings =
    36 	mappings =
    38 		{
    37 		{
    39 		SSM_COMMANDLISTID_TO_RESOURCEID
    38 		SSM_COMMANDLISTID_TO_RESOURCEID
    40 			{
    39 			{
    41 			command_list_id = ESsmStateNonCritical;
    40 			command_list_id = 0x51;
    42 			resource_id = r_non_critical_commands;
    41 			resource_id = r_non_critical_commands;
    43 			}
    42 			}
    44 		};
    43 		};
    45 	}
    44 	}
    46 
    45 
    47 RESOURCE SSM_COMMAND_LIST r_non_critical_commands
    46 RESOURCE SSM_COMMAND_LIST r_non_critical_commands
    48    	{
    47    	{
    49 	commands =
    48 	commands =
    50 		{
    49 		{
    51 		r_command_test_proc
    50 		r_command_publish_system_state
       
    51 		,	r_command_test_proc
    52 		};
    52 		};
    53 	}
    53 	}
    54 
    54 
       
    55 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_system_state
       
    56 	{
       
    57 	severity = ECmdCriticalSeverity;
       
    58 	priority = 150;
       
    59 	}
       
    60 	
    55 RESOURCE SSM_START_APP_INFO r_command_test_proc
    61 RESOURCE SSM_START_APP_INFO r_command_test_proc
    56 	{
    62 	{
    57     priority = 150;
       
    58 	severity = ECmdCriticalSeverity;
    63 	severity = ECmdCriticalSeverity;
    59 	name = "gsatestprocgood.exe";
    64 	name = "gsatestprocgood.exe";
    60 	execution_behaviour = ESsmWaitForSignal;
    65 	execution_behaviour = ESsmWaitForSignal;
    61 	}
    66 	}