sysstatemgmt/systemstatereferenceplugins/custcmd/inc/ssmrefcustomcmdcommon.h
changeset 0 4e1aa6a622a0
child 5 1a73e8f1b64d
equal deleted inserted replaced
-1:000000000000 0:4e1aa6a622a0
       
     1 /*
       
     2 * Copyright (c) 2008-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        : strtsecuritychecktask.h
       
    16 * Part of     : System Startup / Starter
       
    17 * Declaration of CStrtSecurityCheckTask class
       
    18 * Version     : %version: ou1s60rt#5.1.1 %
       
    19 * This material, including documentation and any related computer
       
    20 * programs, is protected by copyright controlled by Nokia.  All
       
    21 * rights are reserved.  Copying, including reproducing, storing,
       
    22 * adapting or translating, any or all of this material requires the
       
    23 * prior written consent of Nokia.  This material also contains
       
    24 * confidential information which may not be disclosed to others
       
    25 * without the prior written consent of Nokia.
       
    26 * Template version: 4.0
       
    27 * Nokia Core OS *
       
    28 * File renamed from strtsecuritychecktask.h to ssmrefcustomcmdcommon.h as part of Core OS transfer.
       
    29 *
       
    30 */
       
    31 
       
    32 
       
    33 
       
    34 
       
    35 /**
       
    36  @file
       
    37  @internalComponent
       
    38  @released
       
    39 */
       
    40 
       
    41 #ifndef __SSMREFCUSTOMCMDCOMMON_H__
       
    42 #define __SSMREFCUSTOMCMDCOMMON_H__
       
    43 
       
    44 #include <e32std.h>
       
    45 #include <e32cmn.h>
       
    46 
       
    47 //Starter security phase PS key
       
    48 const TUint32 KStarterSecurityPhase = 0x00000001;
       
    49 
       
    50 	/**
       
    51 	* Identifies the status of the security checks. Can be used to check if
       
    52 	* boot-time security checks have been partially or fully executed.
       
    53 	*/
       
    54 	enum TStarterSecurityPhase
       
    55 	   {
       
    56 	   EStarterSecurityPhaseUninitialized = 0,
       
    57 	   EStarterSecurityPhaseSimOk = 1,     // SIM card security checks are OK (PIN etc.)
       
    58 	   EStarterSecurityPhaseSimNok = 2,    // SIM card security checks have failed
       
    59 	   EStarterSecurityPhaseSecOk = 3,     // Device security checks are OK (password)
       
    60 	   EStarterSecurityPhaseSecNok = 4     // Device security checks have failed
       
    61 	   };
       
    62 
       
    63 #endif // __SSMREFCUSTOMCMDCOMMON_H__