diff -r ccb4f6b3db21 -r 8cb079868133 sysstatemgmt/systemstateplugins/test/tintgsapolicy/resource/tgsa_statetranfromshutdown.rss --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sysstatemgmt/systemstateplugins/test/tintgsapolicy/resource/tgsa_statetranfromshutdown.rss Wed Sep 01 12:34:26 2010 +0100 @@ -0,0 +1,61 @@ +// Copyright (c) 2007-2009 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 +#include + +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 = 0x48; + resource_id = r_testapp_command; + } + }; + } + + +RESOURCE SSM_COMMAND_LIST r_testapp_command + { + commands = + { + r_command_publish_state + , r_command_statetranfromshutdown + }; + } + +RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_state + { + severity = ECmdCriticalSeverity; + } + +RESOURCE SSM_START_PROCESS_INFO r_command_statetranfromshutdown + { + severity = ECmdCriticalSeverity; + name = "tgsastatetranfromshutdown.exe"; + execution_behaviour = ESsmFireAndForget; + } +