]> SALOME platform Git repositories - plugins/netgenplugin.git/commitdiff
Salome HOME
Exports symbols using in SMESH hypothezis mechanizm
authorabd <abd@opencascade.com>
Thu, 29 Jun 2006 13:45:24 +0000 (13:45 +0000)
committerabd <abd@opencascade.com>
Thu, 29 Jun 2006 13:45:24 +0000 (13:45 +0000)
src/GUI/NETGENPluginGUI.cxx
src/GUI/NETGENPluginGUI_HypothesisCreator.h

index 47fd3c0144bd2251f80f62410621181817d05f44..1b8992147bd3158d4ac789f35353a398bc817b12 100755 (executable)
@@ -35,6 +35,7 @@
 //=============================================================================
 extern "C"
 {
+  NETGENPLUGIN_GUI_EXPORT
   SMESHGUI_GenericHypothesisCreator* GetHypothesisCreator( const QString& aHypType )
   {
     SMESHGUI_GenericHypothesisCreator* aCreator = NULL;
index c86b99f74e5d5d0064c3dcbfb8295f8df985df38..77c0fccaa069fc0fb9a02bc856f8e680cc21cfc7 100644 (file)
 #ifndef NETGENPLUGINGUI_HypothesisCreator_HeaderFile
 #define NETGENPLUGINGUI_HypothesisCreator_HeaderFile
 
+#ifdef WIN32
+  #ifdef NETGENPLUGIN_GUI_EXPORTS
+    #define NETGENPLUGIN_GUI_EXPORT __declspec( dllexport )
+  #else
+    #define NETGENPLUGIN_GUI_EXPORT __declspec( dllimport )
+  #endif
+#else
+  #define NETGENPLUGIN_GUI_EXPORTT
+#endif
+
 #include <SMESHGUI_Hypotheses.h>
 
 class QtxDblSpinBox;
@@ -46,7 +56,7 @@ typedef struct
 /*!
  * \brief Class for creation of NETGEN2D and NETGEN3D hypotheses
 */
-class NETGENPluginGUI_HypothesisCreator : public SMESHGUI_GenericHypothesisCreator
+class NETGENPLUGIN_GUI_EXPORT NETGENPluginGUI_HypothesisCreator : public SMESHGUI_GenericHypothesisCreator
 {
   Q_OBJECT