sysstatemgmt/systemstateplugins/gsapolicy/resource/gsanormalcmdlist.rss
changeset 74 9d35fd98f273
parent 0 4e1aa6a622a0
equal deleted inserted replaced
69:dc67b94625c5 74:9d35fd98f273
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2007-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 #include <ssm/clayerdlldatadefs.rh>
    20 #include <ssm/clayerdlldatadefs.rh>
    23 #include <ssm/conditionresourcetypes.rh>
    21 #include <ssm/conditionresourcetypes.rh>
    24 
    22 
    25 UID2 KUidSsmCommandListResourceFile
    23 UID2 KUidSsmCommandListResourceFile
    26 
    24 
    61    	{
    59    	{
    62 	commands =
    60 	commands =
    63 		{
    61 		{
    64 		r_rendezvous_with_estart
    62 		r_rendezvous_with_estart
    65 		, r_command_publish_state
    63 		, r_command_publish_state
    66 		, r_reset_boot_count
       
    67 		};
    64 		};
    68 	}
    65 	}
    69 
    66 
    70 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_state
    67 RESOURCE SSM_PUBLISH_SYSTEM_STATE r_command_publish_state
    71 	{
    68 	{
    72 	severity = ECmdCriticalSeverity;
    69 	severity = ECmdCriticalSeverity;
    73 	}
       
    74 
       
    75 RESOURCE SSM_START_CUSTOM_COMMAND r_reset_boot_count
       
    76 	{
       
    77 	severity = ECmdCriticalSeverity;
       
    78 	execution_behaviour = ESsmWaitForSignal;
       
    79 	dllname = "cmncustomcmds.dll";
       
    80 	ordinal = 1; // Persist reboots custom command is at ordinal 1
       
    81 	dll_data = r_reset;
       
    82 	}
       
    83 
       
    84 RESOURCE SSM_COMMAND_PERSIST_REBOOTS r_reset
       
    85 	{
       
    86 	val = EResetBootCount;
       
    87 	}
    70 	}
    88 
    71 
    89 RESOURCE SSM_START_CUSTOM_COMMAND r_rendezvous_with_estart
    72 RESOURCE SSM_START_CUSTOM_COMMAND r_rendezvous_with_estart
    90 	{
    73 	{
    91 	severity = ECmdCriticalSeverity;
    74 	severity = ECmdCriticalSeverity;