sysstatemgmt/systemstateplugins/test/tintgsapolicy/resource/tgsa_statetransition.rss
author hgs
Tue, 10 Aug 2010 14:46:45 +0300
changeset 52 d6b9e89d80a3
permissions -rw-r--r--
201031_02

// Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

#include <ssm/ssmcmd.rh>
#include <ssm/ssmsubstates.hrh>
#include "ssmsubstateext.hrh"

UID2 KUidSsmCommandListResourceFile

// SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file.
// The SSM relies on this having a resource ID of 1.
RESOURCE SSM_COMMAND_LIST_ROOT
	{
	command_list_mapping = r_command_list_mapping;
	}

RESOURCE SSM_COMMAND_LIST_MAPPING r_command_list_mapping
	{
	mappings =
		{
		SSM_COMMANDLISTID_TO_RESOURCEID
			{
			command_list_id = ESsmStateNonCritical;
			resource_id = r_testapp_command;
			}
		};
	}


RESOURCE SSM_COMMAND_LIST r_testapp_command
   	{
	commands =
		{
		r_command_statetranfromnormal,
		r_command_statetranfromstartup
		};
	}


RESOURCE SSM_START_PROCESS_INFO r_command_statetranfromnormal
	{
	severity = ECmdCriticalSeverity;
	name = "tgsastatetranfromnormal.exe";
	execution_behaviour = ESsmFireAndForget;
	}

RESOURCE SSM_START_PROCESS_INFO r_command_statetranfromstartup
    {
    severity = ECmdCriticalSeverity;
    name = "tgsastatetranfromstartup.exe";
    execution_behaviour = ESsmWaitForSignal;
    }