featuremgmt/featuremgr/src/serverexe/featmgrserver.h
branchRCL_3
changeset 10 31a8f755b7fe
parent 8 fa9941cf3867
--- a/featuremgmt/featuremgr/src/serverexe/featmgrserver.h	Mon Mar 15 12:46:30 2010 +0200
+++ b/featuremgmt/featuremgr/src/serverexe/featmgrserver.h	Thu Apr 01 00:19:42 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;