startup/stem_failcmdlist.rss
author William Roberts <williamr@symbian.org>
Sun, 10 Oct 2010 16:22:15 +0100
changeset 13 4f959124999b
permissions -rw-r--r--
Added group & startup directories, which build "stem_" versions of the myriad ssmcmdlist resources in private\2000d75b This has a USERINCLUDE into sf\os\devicesrv to get some unpublished header files.
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 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 = ESsmStateFail;
4f959124999b 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_cmds;
4f959124999b 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
        };
4f959124999b 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
4f959124999b 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
// ===========================================================================
4f959124999b 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
// 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
    57
// ===========================================================================
4f959124999b 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
4f959124999b 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
// ---------------------------------------------------------------------------
4f959124999b 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
// r_cmds
4f959124999b 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
// ---------------------------------------------------------------------------
4f959124999b 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
RESOURCE SSM_COMMAND_LIST r_cmds
4f959124999b 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
    {
4f959124999b 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
    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
    67
        {
4f959124999b 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
        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
    69
        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
    70
        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
    71
        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
    72
        // 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
    73
        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
    74
        r_cmd_contactservice,
4f959124999b 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
        r_cmd_sysap,
4f959124999b 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
        // prio 0xFFE6
4f959124999b 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
        r_cmd_multiwaitforever
4f959124999b 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
// ===========================================================================
4f959124999b 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
// 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
    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
//
4f959124999b 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
// 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
    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
//
4f959124999b 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
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
    90
	{
4f959124999b 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
	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
    92
	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
    93
	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
    94
	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
    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
// ---------------------------------------------------------------------------
4f959124999b 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
// r_cmd_contactservice
4f959124999b 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
//
4f959124999b 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
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_contactservice
4f959124999b 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
    {
4f959124999b 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
    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
   104
    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
   105
    execution_behaviour = ESsmDeferredWaitForSignal;
4f959124999b 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
    dllname = "syserrcmd.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
   107
    ordinal = 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
   108
    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
   109
    }
4f959124999b 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
// 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
   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
//
4f959124999b 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
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
   116
    {
4f959124999b 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
    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
   118
    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
   119
    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
   120
    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
   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
// r_cmd_multiwaitforever
4f959124999b 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
// ---------------------------------------------------------------------------
4f959124999b 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
RESOURCE SSM_MULTIPLE_WAIT r_cmd_multiwaitforever
4f959124999b 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
    {
4f959124999b 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
    priority = 0xFFE6;
4f959124999b 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
    }
4f959124999b 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
// ---------------------------------------------------------------------------
4f959124999b 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_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
   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
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
   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
    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
   139
    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
   140
    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
   141
    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
   142
    value    = 116;        // ESWStateFatalStartupError
4f959124999b 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
    }
4f959124999b 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
// 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
   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
//
4f959124999b 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
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
   150
    {
4f959124999b 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
    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
   152
    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
   153
    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
   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
// ---------------------------------------------------------------------------
4f959124999b 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
// 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
   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
//
4f959124999b 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
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
   161
    {
4f959124999b 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
    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
   163
    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
   164
    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
   165
    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
   166
    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
   167
    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
   168
    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
   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
4f959124999b 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
// r_cmd_sysap
4f959124999b 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
RESOURCE SSM_START_APP_INFO r_cmd_sysap
4f959124999b 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
    {
4f959124999b 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
    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
   178
    name = "Z:\\sys\\bin\\sysap.exe";
4f959124999b 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
    execution_behaviour = ESsmDeferredWaitForSignal;
4f959124999b 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
    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
   181
    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
   182
    background = 1; // To background
4f959124999b 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
    monitor_info = r_mon_reset;
4f959124999b 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
    }
4f959124999b 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
// 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
   188
// ===========================================================================
4f959124999b 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
// ---------------------------------------------------------------------------
4f959124999b 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
// 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
   193
// ---------------------------------------------------------------------------
4f959124999b 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
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
   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
    mainstate = 3; // ESsmFail
4f959124999b 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
    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
   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
4f959124999b 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
// monitoring.rss contains resource definitions, so it may not be included
4f959124999b 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
// before 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
   203
#include "stem_monitoring.rss"