startup/stem_shutdowncmdlists.rss
author Tom Pritchard <tomp@symbian.org>
Wed, 13 Oct 2010 17:18:04 +0100
branchsystem_startup
changeset 36 ec9266033bd7
parent 13 4f959124999b
permissions -rw-r--r--
Catch-up with latest changes
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     1
/*
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     2
* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     3
* All rights reserved.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     4
* This component and the accompanying materials are made available
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     6
* which accompanies this distribution, and is available
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     8
*
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
     9
* Initial Contributors:
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    11
*
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    12
* Contributors:
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    13
*
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    14
* Description:
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    15
* Command list for the Selftest OK startup state.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    16
*
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    17
*/
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    18
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    19
#include <ssm/conditionresourcetypes.rh>
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    20
#include <ssm/ssmcmd.rh>
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    21
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    22
#include "ssmsubstateext.hrh"
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    23
#include "ssmdlldatadefs.rh"
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    24
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    25
// Identify command list type
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    26
UID2 KUidSsmCommandListResourceFile
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    27
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    28
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    29
// r_entry_point
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    30
// This must be the first resource
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    31
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    32
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    33
RESOURCE SSM_COMMAND_LIST_ROOT r_entry_point
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    34
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    35
    command_list_mapping = r_map;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    36
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    37
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    38
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    39
// r_map
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    40
// Mapping of command list ids to resource ids.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    41
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    42
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    43
RESOURCE SSM_COMMAND_LIST_MAPPING r_map
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    44
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    45
    mappings =
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    46
        {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    47
        SSM_COMMANDLISTID_TO_RESOURCEID
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    48
            {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    49
            command_list_id = ESsmErrorShutdown;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    50
            resource_id = r_initialcmds;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    51
            },
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    52
        SSM_COMMANDLISTID_TO_RESOURCEID
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    53
            {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    54
            command_list_id = ESsmNormalShutdown;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    55
            resource_id = r_initialcmds;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    56
            },
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    57
        SSM_COMMANDLISTID_TO_RESOURCEID
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    58
            {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    59
            command_list_id = ESsmShutdownSubStateCritical;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    60
            resource_id = r_criticalcmds;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    61
            },
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    62
        SSM_COMMANDLISTID_TO_RESOURCEID
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    63
            {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    64
            command_list_id = ESsmShutdownSubStateNonCritical;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    65
            resource_id = r_noncriticalcmds;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    66
            },
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    67
        SSM_COMMANDLISTID_TO_RESOURCEID
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    68
            {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    69
            command_list_id = ESsmShutdownSubStatePowerOff;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    70
            resource_id = r_poweroffcmds;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    71
            }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    72
        };
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    73
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    74
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    75
// ===========================================================================
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    76
// Command lists in alphabetical order
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    77
// ===========================================================================
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    78
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    79
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    80
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    81
// r_criticalcmds
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    82
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    83
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    84
RESOURCE SSM_COMMAND_LIST r_criticalcmds
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    85
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    86
    commands =
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    87
        {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    88
        r_cmd_sastate,          // This needs to be the first command in state, prio 0xFFF2
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    89
        r_cmd_publishstate,     // prio 0xFFF1
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    90
        r_cmd_psstate,          // prio 0xFFF0
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    91
        r_cmd_cancelmonitoring, // prio 0xFFE8
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    92
	r_cmd_shutdownapps      // prio 0xFFE7
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    93
        };
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    94
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    95
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    96
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    97
// r_initialcmds
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    98
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
    99
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   100
RESOURCE SSM_COMMAND_LIST r_initialcmds
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   101
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   102
    commands =
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   103
        {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   104
        r_cmd_publishstate	// prio 0xFFF1
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   105
        };
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   106
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   107
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   108
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   109
// r_noncriticalcmds
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   110
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   111
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   112
RESOURCE SSM_COMMAND_LIST r_noncriticalcmds
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   113
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   114
    commands =
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   115
        {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   116
        r_cmd_publishstate,     // prio 0xFFF1
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   117
        // prio 0xFFE7
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   118
        r_cmd_killsplash,
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   119
        r_cmd_finalisedrives,
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   120
        r_cmd_sashutdown
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   121
        };
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   122
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   123
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   124
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   125
// r_poweroffcmds
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   126
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   127
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   128
RESOURCE SSM_COMMAND_LIST r_poweroffcmds
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   129
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   130
    commands =
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   131
        {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   132
        r_cmd_publishstate,     // prio 0xFFF1
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   133
        r_cmd_poweroff          // This is always the last command
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   134
        };
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   135
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   136
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   137
// ===========================================================================
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   138
// Command items in alphabetical order
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   139
// ===========================================================================
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   140
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   141
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   142
// r_cmd_cancelmonitoring
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   143
// This command should be executed before shutdown apps
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   144
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   145
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   146
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_cancelmonitoring
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   147
	{
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   148
	priority = 0xFFE8;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   149
	severity = ECmdCriticalSeverity;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   150
	dllname = "cmncustomcmds.dll";
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   151
	ordinal = 3; // Request to the sysmon server to cancel all the outstanding monitors
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   152
	retries = 2;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   153
	}
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   154
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   155
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   156
// r_cmd_shutdownapps
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   157
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   158
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   159
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_shutdownapps
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   160
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   161
    priority = 0xFFE7;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   162
    dllname = "akncustcmds.dll";
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   163
    ordinal = 3; // AknShutdownApps
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   164
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   165
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   166
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   167
// r_cmd_finalisedrives
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   168
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   169
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   170
RESOURCE SSM_FINALISE_DRIVES r_cmd_finalisedrives
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   171
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   172
//    priority = 0xFFE7;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   173
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   174
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   175
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   176
// r_cmd_killsplash
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   177
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   178
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   179
RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_cmd_killsplash
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   180
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   181
    priority = 0xFFE7;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   182
    category = 0x101F8766; // KPSUidStartup
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   183
    key      = 0x00000301; // KPSSplashShutdown
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   184
    value    = 101;        // ESplashShutdown
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   185
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   186
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   187
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   188
// r_cmd_poweroff
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   189
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   190
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   191
RESOURCE SSM_POWER_OFF r_cmd_poweroff
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   192
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   193
    power_state = 1; // EPwStandby
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   194
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   195
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   196
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   197
// r_cmd_psstate
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   198
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   199
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   200
RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_cmd_psstate
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   201
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   202
    priority = 0xFFF0;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   203
    severity = ECmdCriticalSeverity;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   204
    category = 0x101F8766; // KPSUidStartup
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   205
    key      = 0x00000041; // KPSGlobalSystemState
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   206
    value    = 117;        // ESwStateShuttingDown
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   207
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   208
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   209
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   210
// r_cmd_publishstate
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   211
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   212
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   213
RESOURCE SSM_PUBLISH_SYSTEM_STATE r_cmd_publishstate
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   214
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   215
    priority = 0xFFF1;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   216
    severity = ECmdCriticalSeverity;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   217
    direction = 1;  // ETraverseChildrenFirst, Transition children first for graceful shutdown.
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   218
    retries = 2;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   219
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   220
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   221
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   222
// r_cmd_sashutdown
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   223
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   224
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   225
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_sashutdown
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   226
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   227
    priority = 0xFFE7;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   228
    dllname = "ssmsystemcmds.dll";
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   229
    ordinal = 7; // SaShutdown
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   230
    retries = 2;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   231
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   232
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   233
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   234
// r_cmd_sastate
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   235
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   236
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   237
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_sastate
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   238
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   239
    priority = 0xFFF2;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   240
    severity = ECmdCriticalSeverity;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   241
    dllname = "customcmds.dll";
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   242
    ordinal = 8;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   243
    unload_on_finish = ENeverUnload;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   244
    retries = 2;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   245
    dll_data = r_dlldata_sastate;
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   246
    }
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   247
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   248
// ===========================================================================
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   249
// DLL data items in alphabetical order
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   250
// ===========================================================================
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   251
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   252
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   253
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   254
// r_dlldata_sastate
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   255
// ---------------------------------------------------------------------------
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   256
//
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   257
RESOURCE CMD_PARAM_STATE_CHANGE r_dlldata_sastate
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   258
    {
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   259
    mainstate = 2; // ESsmShutdown
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   260
    substate = 0xFFFF; // KSsmAnySubState, saastateadapataion expects this
4f959124999b Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b
William Roberts <williamr@symbian.org>
parents:
diff changeset
   261
    }