startup/stem_noncriticalswpcmdlists.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.

/*
* Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
* Command lists for the noncritical phase SWP:
*   - non-critical phase Started
*
*/

#include <ssm/conditionresourcetypes.rh>
#include <ssm/ssmcmd.rh>

#include "ssmswp.hrh"
#include "ssmdlldatadefs.rh"

// Identify command list type
UID2 KUidSsmCommandListResourceFile

// ---------------------------------------------------------------------------
// r_entry_point
// This must be the first resource
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST_ROOT r_entry_point
    {
    command_list_mapping = r_map;
    }

// ---------------------------------------------------------------------------
// r_map
// Mapping of command list ids to resource ids.
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST_MAPPING r_map
    {
    mappings =
        {
        SSM_COMMANDLISTID_TO_RESOURCEID
            {
            command_list_id = ESsmNonCriticalPhaseStarted;
            resource_id = r_noncriticalphase_commands;
            }
        };
    }

// ===========================================================================
// Command lists in alphabetical order
// ===========================================================================
//

// ---------------------------------------------------------------------------
// r_started_commands
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST r_noncriticalphase_commands
    {
    commands =
        {
        // prio 0xFFF1
        r_cmd_publishswp,
        // prio 0x7EFF
        r_cmd_activitymonitor1,
        // prio 0x7EFE
        r_cmd_logs,
        // prio 0x7EFD
        r_cmd_activitymonitor2,
        // prio 0x7EFC
        r_cmd_pbk2,
        // prio 0x7EFB
        r_cmd_activitymonitor3,
        // prio 0x7EFA
        r_cmd_mce,
        // prio 0x7EF9
        r_cmd_activitymonitor4,
        // prio 0x7EF8
        r_cmd_clock,	//ESLT-842J9W
        // prio 0x7EF7
        r_cmd_activitymonitor5,
        // prio 0x7EF6
        r_cmd_videocenter,
        // prio 0x7EF5
        r_cmd_activitymonitor6,
        // prio 0x7EF4
        r_cmd_iaupdatebg,
        // prio 0x7EF3
        r_cmd_activitymonitor7,
        // prio 0x7EF2
        r_cmd_screensaver,
        // prio 0x7EEF
        r_cmd_activitymonitor8,
        // prio 0x7EEE
        r_cmd_autosync
#ifdef FF_ATT_ADDRESS_BK
        //prio 0x7EEA
        ,r_cmd_activitymonitor9,
        //prio 0x7EE9
        r_cmd_aab
#endif
		// prio 0x7EE8
		,r_cmd_activitymonitor10,
		// prio 0x7EE7
		r_cmd_calendar //CR:MMUN-82ZHAD
    	};
    }

// -----------------------------------------------------------------------------
// r_cmd_aab
// -----------------------------------------------------------------------------
//
#ifdef FF_ATT_ADDRESS_BK 
RESOURCE SSM_START_APP_INFO r_cmd_aab
    {
    priority = 0x7EE9;
    name = "z:\\sys\\bin\\AABPhonebookapp.exe";
    retries = 2;
    background = 1; // To background
    monitor_info = r_mon_3_restarts_ignore;
    }
#endif

// ---------------------------------------------------------------------------
// r_cmd_activitymonitor1
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor1
    {
    priority = 0x7EFF;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonitor2
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor2
    {
    priority = 0x7EFD;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonitor3
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor3
    {
    priority = 0x7EFB;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonitor4
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor4
    {
    priority = 0x7EF9;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonitor5
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor5
    {
    priority = 0x7EF7;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonitor6
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor6
    {
    priority = 0x7EF5;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonitor7
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor7
    {
    priority = 0x7EF3;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonitor8
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor8
    {
    priority = 0x7EEF;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_activitymonitor9
// ---------------------------------------------------------------------------
//
#ifdef FF_ATT_ADDRESS_BK
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor9
    {
    priority = 0x7EEA;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }
#endif

// ---------------------------------------------------------------------------
// r_cmd_activitymonitor10
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor10
    {
    priority = 0x7EE8;
    severity = ECmdCriticalSeverity;
    execution_behaviour = ESsmWaitForSignal;
    dllname = "ssmactivitycmd.dll";
    ordinal = 1; // SsmActivityCmdNewL
    retries = 2;
    dll_data = r_dlldata_activitymonitor_timeout;
    }

// ---------------------------------------------------------------------------
// r_cmd_autosync
// ---------------------------------------------------------------------------
//	
RESOURCE SSM_START_PROCESS_INFO r_cmd_autosync
    {
    priority = 0x7EEE;
    execution_behaviour = ESsmFireAndForget;
    retries = 3;
    name = "cctautosync.exe";
    }

// ---------------------------------------------------------------------------
// r_cmd_calendar
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_calendar
	{
   	priority = 0x7EE7;
	name = "calendar.exe";
	execution_behaviour = ESsmFireAndForget;
	retries = 3;
	background = 1; // To background
    }

// ---------------------------------------------------------------------------
// r_cmd_clock
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_clock
    {
    priority = 0x7EF8;
    name = "clock.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    background = 1; // To background
    }

// ---------------------------------------------------------------------------
// r_cmd_iaupdatebg
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_PROCESS_INFO r_cmd_iaupdatebg
    {
    priority = 0x7EF4;
    name = "iaupdatebg.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    conditional_information = r_cond_feat_iadv2;
    }

// ---------------------------------------------------------------------------
// r_cmd_mce
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_mce
    {
    priority = 0x7EFA;
    name = "mce.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    background = 1; // To background
    }

// ---------------------------------------------------------------------------
// r_cmd_pbk2
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_pbk2
    {
    priority = 0x7EFC;
    name = "z:\\sys\\bin\\phonebook2.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    background = 1; // To background
    }

// ---------------------------------------------------------------------------
// r_cmd_publishswp
// ---------------------------------------------------------------------------
//
RESOURCE SSM_PUBLISH_SYSTEM_WIDE_PROPERTY r_cmd_publishswp
    {
    priority = 0xFFF1;
    severity = ECmdCriticalSeverity;
    }

// ---------------------------------------------------------------------------
// r_cmd_logs
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_logs
    {
    priority = 0x7EFE;
    name = "z:\\sys\\bin\\logs.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    background = 1; // To background
    }

// ---------------------------------------------------------------------------
// r_cmd_screensaver
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_screensaver
    {
    priority = 0x7EF2;
    name = "z:\\sys\\bin\\screensaver.exe";
    background = 1; // To background
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    monitor_info = r_mon_3_restarts_ignore;
    }

// ---------------------------------------------------------------------------
// r_cmd_videocenter
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_PROCESS_INFO r_cmd_videocenter
    {
    priority = 0x7EF6;
    name = "cseschedulerserver.exe";
    execution_behaviour = ESsmWaitForSignal;
    timeout = 10000;
    }

// ===========================================================================
// Conditional blocks in alphabetical order
// ===========================================================================
//
// ---------------------------------------------------------------------------
// r_cond_feat_iadv2
// ---------------------------------------------------------------------------
//
RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_iadv2
    {
    feature_id = KFeatureIdFfIaupdatePhase2;
    }

// ===========================================================================
// DLL data items in alphabetical order
// ===========================================================================
//

// ---------------------------------------------------------------------------
// r_dlldata_activitymonitor_timeout
// ---------------------------------------------------------------------------
//
RESOURCE CMD_PARAM_TIMEOUT r_dlldata_activitymonitor_timeout
    {
    timeout = 2;
    }


// monitoring.rss contains resource definitions, so it may not be included
// before entry point.
#include "stem_monitoring.rss"