1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/ssm/starter.hrh Wed Mar 31 12:33:34 2010 +0100
1.3 @@ -0,0 +1,73 @@
1.4 +/*
1.5 +* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +* All rights reserved.
1.7 +* This component and the accompanying materials are made available
1.8 +* under the terms of "Eclipse Public License v1.0"
1.9 +* which accompanies this distribution, and is available
1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.11 +*
1.12 +* Initial Contributors:
1.13 +* Nokia Corporation - initial contribution.
1.14 +*
1.15 +* Contributors:
1.16 +*
1.17 +* Description:
1.18 +* Name : starter.hrh
1.19 +* Part of : System Startup / Starter
1.20 +* Interface : Domain, Extended Startup API
1.21 +* Resource headers for projects StarterServer and StarterClient.
1.22 +* Version : %version: 6 %
1.23 +* This material, including documentation and any related computer
1.24 +* programs, is protected by copyright controlled by Nokia. All
1.25 +* rights are reserved. Copying, including reproducing, storing,
1.26 +* adapting or translating, any or all of this material requires the
1.27 +* prior written consent of Nokia. This material also contains
1.28 +* confidential information which may not be disclosed to others
1.29 +* without the prior written consent of Nokia.
1.30 +* Template version: 4.0
1.31 +* Nokia Core OS *
1.32 +*
1.33 +*/
1.34 +
1.35 +
1.36 +
1.37 +#ifndef STARTER_HRH
1.38 +#define STARTER_HRH
1.39 +
1.40 +/*
1.41 +* @file
1.42 +* @publishedPartner
1.43 +* @released
1.44 +*/
1.45 +
1.46 +// Item types for entries in the startup list.
1.47 +// These are for Starter only.
1.48 +//
1.49 +enum TItemType
1.50 + {
1.51 + // Normal types:
1.52 + // Continue startup after starting the item.
1.53 + EExecutableType = 100,
1.54 + // Started initially into background.
1.55 + EBackgroundApplicationType = 102
1.56 + };
1.57 +
1.58 +
1.59 +// Values for supported monitoring (watching) of started items outside critical
1.60 +// block. These are applied to set up watchers to try recovering from item's
1.61 +// death in normal running. So if item dies then:
1.62 +//
1.63 +enum TMonitoringMode
1.64 + {
1.65 + EMonNone = 100, // Do nothing (no monitoring),
1.66 + EMonRestart, // Retry up to the defined max. times,
1.67 + // after that apply EMonPanic.
1.68 + EMonRestartReset, // Retry up to the defined max. times,
1.69 + // after that apply EMonReset.
1.70 + EMonReset // Reset SW.
1.71 + };
1.72 +
1.73 +
1.74 +#endif
1.75 +
1.76 +// End of File