clock2/clockui/uimodel/inc/clkuimdlpanic.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2008 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:  This file contains the panic codes for clockui model.
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef __CLKUIMDL_PANIC_H__
       
    19 #define __CLKUIMDL_PANIC_H__
       
    20 
       
    21 // System includes
       
    22 #include <e32base.h>
       
    23 
       
    24 // User includes
       
    25 
       
    26 /**
       
    27 * @enum TClkUiMdlPanic
       
    28 * @brief The panic codes.
       
    29 */
       
    30 enum TClkUiMdlPanic
       
    31     {
       
    32     EClkUiMdlWorld,
       
    33     EClkUiMdlAlarm,
       
    34     EClkUiMdlObserver,
       
    35     EClkUiMdlOutOfRange
       
    36     };
       
    37 
       
    38 /**
       
    39 * @enum TClkUiMdlFault
       
    40 * @brief The fault codes.
       
    41 */
       
    42 enum TClkUiMdlFault
       
    43     {
       
    44     EClkUiMdlfIdleObj,
       
    45     EClkUiMdlfPriorityInvalid,
       
    46     EClkUiMdlfIdleArgument,
       
    47     EClkUiMdlfNoNotifier,
       
    48     EClkUiMdlfOutOfRange,
       
    49     EClkUiMdlfTime
       
    50     };
       
    51 
       
    52 // Function declarations
       
    53 /**
       
    54 * @brief Panic's the clkuimdl.
       
    55 * @param aPanic The panic reason.
       
    56 */
       
    57 GLREF_C void Panic( TClkUiMdlPanic aPanic );
       
    58 
       
    59 /**
       
    60 * @brief Flags a fault in clkuimdl.
       
    61 * @param aFault The fault reason.
       
    62 */
       
    63 GLREF_C void Fault( TClkUiMdlFault aFault );
       
    64 
       
    65 #endif          // __CLKUIMDL_PANIC_H__
       
    66 
       
    67 // End of file