]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Export getExceptionHandler() function (bug on WNT)
authorvsr <vsr@opencascade.com>
Mon, 20 Jun 2005 14:32:35 +0000 (14:32 +0000)
committervsr <vsr@opencascade.com>
Mon, 20 Jun 2005 14:32:35 +0000 (14:32 +0000)
src/SalomeApp/SalomeApp_ExceptionHandler.cxx

index ac7b408da9571651de9b87fc4bb2977335d7b25e..aebfb9c8c43fab6710a10b6afbc25799cdad71d4 100644 (file)
@@ -63,10 +63,7 @@ bool SalomeApp_ExceptionHandler::handle( QObject* o, QEvent* e )
   return res;
 }
 
-extern "C"
+extern "C" SALOMEAPP_EXPORT SUIT_ExceptionHandler* getExceptionHandler()
 {
-  SUIT_ExceptionHandler* getExceptionHandler()
-  {
-    return new SalomeApp_ExceptionHandler( true );
-  }
+  return new SalomeApp_ExceptionHandler( true );
 }