williamr@4: /* williamr@4: * Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). williamr@4: * All rights reserved. williamr@4: * This component and the accompanying materials are made available williamr@4: * under the terms of "Eclipse Public License v1.0" williamr@4: * which accompanies this distribution, and is available williamr@4: * at the URL "http://www.eclipse.org/legal/epl-v10.html". williamr@4: * williamr@4: * Initial Contributors: williamr@4: * Nokia Corporation - initial contribution. williamr@4: * williamr@4: * Contributors: williamr@4: * williamr@4: * Description: williamr@4: * Name : starter.hrh williamr@4: * Part of : System Startup / Starter williamr@4: * Interface : Domain, Extended Startup API williamr@4: * Resource headers for projects StarterServer and StarterClient. williamr@4: * Version : %version: 6 % williamr@4: * This material, including documentation and any related computer williamr@4: * programs, is protected by copyright controlled by Nokia. All williamr@4: * rights are reserved. Copying, including reproducing, storing, williamr@4: * adapting or translating, any or all of this material requires the williamr@4: * prior written consent of Nokia. This material also contains williamr@4: * confidential information which may not be disclosed to others williamr@4: * without the prior written consent of Nokia. williamr@4: * Template version: 4.0 williamr@4: * Nokia Core OS * williamr@4: * williamr@4: */ williamr@4: williamr@4: williamr@4: williamr@4: #ifndef STARTER_HRH williamr@4: #define STARTER_HRH williamr@4: williamr@4: /* williamr@4: * @file williamr@4: * @publishedPartner williamr@4: * @released williamr@4: */ williamr@4: williamr@4: // Item types for entries in the startup list. williamr@4: // These are for Starter only. williamr@4: // williamr@4: enum TItemType williamr@4: { williamr@4: // Normal types: williamr@4: // Continue startup after starting the item. williamr@4: EExecutableType = 100, williamr@4: // Started initially into background. williamr@4: EBackgroundApplicationType = 102 williamr@4: }; williamr@4: williamr@4: williamr@4: // Values for supported monitoring (watching) of started items outside critical williamr@4: // block. These are applied to set up watchers to try recovering from item's williamr@4: // death in normal running. So if item dies then: williamr@4: // williamr@4: enum TMonitoringMode williamr@4: { williamr@4: EMonNone = 100, // Do nothing (no monitoring), williamr@4: EMonRestart, // Retry up to the defined max. times, williamr@4: // after that apply EMonPanic. williamr@4: EMonRestartReset, // Retry up to the defined max. times, williamr@4: // after that apply EMonReset. williamr@4: EMonReset // Reset SW. williamr@4: }; williamr@4: williamr@4: williamr@4: #endif williamr@4: williamr@4: // End of File