sysstatemgmt/systemstatereferenceplugins/clayer/inc/startupreason.h
changeset 0 4e1aa6a622a0
child 7 1a73e8f1b64d
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Name        : startupreason.h
       
    16 * Part of     : System Startup / Starter
       
    17 * Interface   : Domain, Startup Reason API
       
    18 * Contains enumeration of valid system startup reasons.
       
    19 * Version     : %version: 2 %
       
    20 * This material, including documentation and any related computer
       
    21 * programs, is protected by copyright controlled by Nokia.  All
       
    22 * rights are reserved.  Copying, including reproducing, storing,
       
    23 * adapting or translating, any or all of this material requires the
       
    24 * prior written consent of Nokia.  This material also contains
       
    25 * confidential information which may not be disclosed to others
       
    26 * without the prior written consent of Nokia.
       
    27 * Template version: 4.1
       
    28 * Nokia Core OS *
       
    29 *
       
    30 */
       
    31 
       
    32 
       
    33 
       
    34 #ifndef __STARTUPREASON_H__
       
    35 #define __STARTUPREASON_H__
       
    36 
       
    37 /*
       
    38 * @publishedPartner
       
    39 * @released
       
    40 */
       
    41 
       
    42 /**
       
    43 * Enumeration of valid system startup reasons.
       
    44 * Startup reason indicates why the system was started up.
       
    45 */
       
    46 enum TStartupReason
       
    47     {
       
    48     ENormalStartup = 100,          // Normal startup. Not a reset.
       
    49     ELanguageSwitchReset = 101,    // A reset due to display language switch.
       
    50     ENormalRFSReset = 102,         // A reset due to restoring factory settings.
       
    51     EDeepRFSReset = 103,           // A reset due to restoring factory settings (deep).
       
    52     EFirmwareUpdate = 105,         // A reset due to firmware update
       
    53     EUnknownReset = 106,           // A reset due to an error.
       
    54     EOperatorSettingReset = 107,   // A reset due to removing operator settings.
       
    55     ENetworkModeChangeReset = 108, // A reset due to network mode change.
       
    56     ESIMStatusChangeReset = 109,   // A reset due removing/inserting SIM card.
       
    57     EDRMReset = 110,
       
    58     EDataRestoreReset = 111,       // A reset after restoring backed-up data.
       
    59     EFieldTestReset = 112          // A reset required by Field Test software.
       
    60     };
       
    61 
       
    62 #endif // __STARTUPREASON_H__