engine/inc/Podcatcher.pan
changeset 81 27f6f5827e5d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/engine/inc/Podcatcher.pan	Sun Apr 04 18:52:11 2010 +0100
@@ -0,0 +1,37 @@
+/*
+* Copyright (c) 2010 Sebastian Brannstrom
+*
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "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:
+* EmbedDev AB - initial contribution.
+*
+* Contributors:
+*
+* Description:
+*
+*/
+
+#ifndef __PODCATCHER_PAN__
+#define __PODCATCHER_PAN__
+
+enum TPodcatcherPanics
+    {
+    EPodcatcherPanicDB = 1,
+    EPodcatcherPanicAlreadyActive,
+    EPodcatcherPanicFeedEngineState,
+    EPodcatcherPanicFeedView
+    };
+
+
+inline void Panic(TPodcatcherPanics aReason)
+    {
+    _LIT(applicationName,"Podcatcher");
+    User::Panic(applicationName, aReason);
+    }
+
+#endif