featuremgmt/featuremgr/src/serverexe/featmgrserver.h
changeset 17 55f2396f6d25
parent 14 15018f1726c7
child 51 7d4490026038
--- a/featuremgmt/featuremgr/src/serverexe/featmgrserver.h	Fri Apr 16 16:49:27 2010 +0300
+++ b/featuremgmt/featuremgr/src/serverexe/featmgrserver.h	Mon May 03 14:09:14 2010 +0300
@@ -31,6 +31,18 @@
 #include "featmgrfeatureregistry.h"
 #include "burstate.h"
 
+#ifdef FEATURE_MANAGER_STARTUP_TEST
+    inline void FmgrFatalErrorL(TInt err, const TDesC&, TInt)
+        {
+        User::Leave(err);
+        }
+#else
+    inline void FmgrFatalErrorL(TInt, const TDesC& aPanicCategory, TInt aPanicCode)
+        {
+        User::Panic(aPanicCategory, aPanicCode);
+        }
+#endif
+
 // FORWARD DECLARATIONS
 class CFeatMgrPluginHandler;
 class CFeatMgrFeatureRegistry;