epoc32/include/ssm/starter.hrh
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
williamr@4
     1
/*
williamr@4
     2
* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
williamr@4
     3
* All rights reserved.
williamr@4
     4
* This component and the accompanying materials are made available
williamr@4
     5
* under the terms of "Eclipse Public License v1.0"
williamr@4
     6
* which accompanies this distribution, and is available
williamr@4
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
williamr@4
     8
*
williamr@4
     9
* Initial Contributors:
williamr@4
    10
* Nokia Corporation - initial contribution.
williamr@4
    11
*
williamr@4
    12
* Contributors:
williamr@4
    13
*
williamr@4
    14
* Description:
williamr@4
    15
* Name        : starter.hrh
williamr@4
    16
* Part of     : System Startup / Starter
williamr@4
    17
* Interface   : Domain, Extended Startup API
williamr@4
    18
* Resource headers for projects StarterServer and StarterClient.
williamr@4
    19
* Version     : %version: 6 %
williamr@4
    20
* This material, including documentation and any related computer
williamr@4
    21
* programs, is protected by copyright controlled by Nokia.  All
williamr@4
    22
* rights are reserved.  Copying, including reproducing, storing,
williamr@4
    23
* adapting or translating, any or all of this material requires the
williamr@4
    24
* prior written consent of Nokia.  This material also contains
williamr@4
    25
* confidential information which may not be disclosed to others
williamr@4
    26
* without the prior written consent of Nokia.
williamr@4
    27
* Template version: 4.0
williamr@4
    28
* Nokia Core OS *
williamr@4
    29
*
williamr@4
    30
*/
williamr@4
    31
williamr@4
    32
williamr@4
    33
williamr@4
    34
#ifndef STARTER_HRH
williamr@4
    35
#define STARTER_HRH
williamr@4
    36
williamr@4
    37
/*
williamr@4
    38
* @file 
williamr@4
    39
* @publishedPartner
williamr@4
    40
* @released
williamr@4
    41
*/
williamr@4
    42
williamr@4
    43
// Item types for entries in the startup list.
williamr@4
    44
// These are for Starter only.
williamr@4
    45
//
williamr@4
    46
enum TItemType
williamr@4
    47
    {
williamr@4
    48
    // Normal types:
williamr@4
    49
    // Continue startup after starting the item.
williamr@4
    50
    EExecutableType = 100,
williamr@4
    51
    // Started initially into background.
williamr@4
    52
    EBackgroundApplicationType = 102
williamr@4
    53
    };
williamr@4
    54
williamr@4
    55
williamr@4
    56
// Values for supported monitoring (watching) of started items outside critical
williamr@4
    57
// block. These are applied to set up watchers to try recovering from item's
williamr@4
    58
// death in normal running. So if item dies then:
williamr@4
    59
//
williamr@4
    60
enum TMonitoringMode
williamr@4
    61
    {
williamr@4
    62
    EMonNone = 100,     // Do nothing (no monitoring),
williamr@4
    63
    EMonRestart,        // Retry up to the defined max. times,
williamr@4
    64
                        // after that apply EMonPanic.
williamr@4
    65
    EMonRestartReset,   // Retry up to the defined max. times,
williamr@4
    66
                        // after that apply EMonReset.
williamr@4
    67
    EMonReset           // Reset SW.
williamr@4
    68
    };
williamr@4
    69
williamr@4
    70
williamr@4
    71
#endif
williamr@4
    72
williamr@4
    73
// End of File