taskswitcher/testapplications/generator/generator/common/inc/helloworldbasic.pan
changeset 117 c63ee96dbe5f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/taskswitcher/testapplications/generator/generator/common/inc/helloworldbasic.pan	Thu Sep 16 12:11:40 2010 +0100
@@ -0,0 +1,32 @@
+/*
+* ==============================================================================
+*  Name        : helloworldbasic.pan
+*  Part of     : Helloworldbasic
+*  Interface   : 
+*  Description : 
+*  Version     : 
+*
+*  Copyright (c) 2005-2006 Nokia Corporation.
+*  This material, including documentation and any related 
+*  computer programs, is protected by copyright controlled by 
+*  Nokia Corporation.
+* ==============================================================================
+*/
+
+#ifndef __HELLOWORLDBASIC_PAN__
+#define __HELLOWORLDBASIC_PAN__
+
+/** HelloWorldBasic application panic codes */
+enum THelloWorldBasicPanics
+    {
+    EHelloWorldBasicUi = 1
+    // add further panics here
+    };
+
+inline void Panic(THelloWorldBasicPanics aReason)
+    {
+    _LIT(applicationName,"HelloWorldBasic");
+    User::Panic(applicationName, aReason);
+    }
+
+#endif // __HELLOWORLDBASIC_PAN__