sysstatemgmt/systemstatemgr/test/tsus/resource/tsuspublishswp.rss
changeset 0 4e1aa6a622a0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/sysstatemgmt/systemstatemgr/test/tsus/resource/tsuspublishswp.rss	Tue Feb 02 00:53:00 2010 +0200
@@ -0,0 +1,52 @@
+// 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:
+// Contains publish SWP command lists
+// 
+//
+
+#include <ssm/ssmcmd.rh>
+
+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 = 0;
+			resource_id = r_swpsup_commands;
+			}
+		};
+	}
+RESOURCE SSM_COMMAND_LIST r_swpsup_commands 
+   	{
+	commands =
+		{
+		r_command_publish_swp
+		};
+	}
+
+RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_command_publish_swp
+	{
+	severity = ECmdMediumSeverity;
+	execution_behaviour = ESsmWaitForSignal;
+	}