clock2/clockui/uimodel/inc/clkuimdlpanic.h
changeset 0 f979ecb2b13e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/clock2/clockui/uimodel/inc/clkuimdlpanic.h	Tue Feb 02 10:12:19 2010 +0200
@@ -0,0 +1,67 @@
+/*
+* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies). 
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  This file contains the panic codes for clockui model.
+*
+*/
+
+#ifndef __CLKUIMDL_PANIC_H__
+#define __CLKUIMDL_PANIC_H__
+
+// System includes
+#include <e32base.h>
+
+// User includes
+
+/**
+* @enum TClkUiMdlPanic
+* @brief The panic codes.
+*/
+enum TClkUiMdlPanic
+    {
+    EClkUiMdlWorld,
+    EClkUiMdlAlarm,
+    EClkUiMdlObserver,
+    EClkUiMdlOutOfRange
+    };
+
+/**
+* @enum TClkUiMdlFault
+* @brief The fault codes.
+*/
+enum TClkUiMdlFault
+    {
+    EClkUiMdlfIdleObj,
+    EClkUiMdlfPriorityInvalid,
+    EClkUiMdlfIdleArgument,
+    EClkUiMdlfNoNotifier,
+    EClkUiMdlfOutOfRange,
+    EClkUiMdlfTime
+    };
+
+// Function declarations
+/**
+* @brief Panic's the clkuimdl.
+* @param aPanic The panic reason.
+*/
+GLREF_C void Panic( TClkUiMdlPanic aPanic );
+
+/**
+* @brief Flags a fault in clkuimdl.
+* @param aFault The fault reason.
+*/
+GLREF_C void Fault( TClkUiMdlFault aFault );
+
+#endif          // __CLKUIMDL_PANIC_H__
+
+// End of file