xcfw/inc/xcfwpanic.h
changeset 60 f62f87b200ec
parent 4 1a2a00e78665
child 61 8e5041d13c84
--- a/xcfw/inc/xcfwpanic.h	Tue Feb 02 00:23:10 2010 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,67 +0,0 @@
-/*
-* Copyright (c) 2002-2005 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:  Implements XCFW panic handling.
-*
-*/
-
-
-
-#ifndef XCFWPANIC_H
-#define XCFWPANIC_H
-
-#define __ASSERT_PANIC(c, r) TXCFWPanic::CheckPanic(c ,r)
-#define __ASSERT_LEAVE(c, r) TXCFWPanic::CheckLeaveL(c, r)
-
-#ifdef __DEBUG
-    #define __ASSERT_PANIC_DEBUG(c, r) TXCFWPanic::CheckPanic(c, r)
-    #define __ASSERT_LEAVE_DEBUG(c, r) TXCFWPanic::CheckLeaveL(c, r)
-#else
-    #define __ASSERT_PANIC_DEBUG(c, r)
-    #define __ASSERT_LEAVE_DEBUG(c, r)
-#endif
-
-//  INCLUDES
-#include <e32std.h>
-
-// DATA TYPES
-enum TXCFWPanicCode
-    {
-    EXCFWPanicNoTypeIdentifier = 1
-    };
-
-/**
-* Menu Engine panic
-*/
-class TXCFWPanic
-    {
-    public:
-
-        /**
-        * Panics if aOK == EFalse
-        * @param aOK defines if we need to panic or not (EFalse => Panic)
-        * @param aReason reason for panic
-        */
-        static void CheckPanic( TBool aOK, TInt aReason );
-        
-        /**
-        * Leaves if aOK = EFalse
-        * @param aOK defines if we need to panic or not (EFalse => Panic)
-        * @param aReason reason for panic
-        */
-        static void CheckLeaveL( TBool aOK, TInt aReason );
-    };
-
-#endif //MENUMODELPANIC_H
-
-// End of file