Exports symbols using in SMESH hypothezis mechanizm

This commit is contained in:
abd 2006-06-29 13:45:24 +00:00
parent b6e49620cb
commit af8514564e
2 changed files with 12 additions and 1 deletions

View File

@ -35,6 +35,7 @@
//============================================================================= //=============================================================================
extern "C" extern "C"
{ {
NETGENPLUGIN_GUI_EXPORT
SMESHGUI_GenericHypothesisCreator* GetHypothesisCreator( const QString& aHypType ) SMESHGUI_GenericHypothesisCreator* GetHypothesisCreator( const QString& aHypType )
{ {
SMESHGUI_GenericHypothesisCreator* aCreator = NULL; SMESHGUI_GenericHypothesisCreator* aCreator = NULL;

View File

@ -28,6 +28,16 @@
#ifndef NETGENPLUGINGUI_HypothesisCreator_HeaderFile #ifndef NETGENPLUGINGUI_HypothesisCreator_HeaderFile
#define 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> #include <SMESHGUI_Hypotheses.h>
class QtxDblSpinBox; class QtxDblSpinBox;
@ -46,7 +56,7 @@ typedef struct
/*! /*!
* \brief Class for creation of NETGEN2D and NETGEN3D hypotheses * \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 Q_OBJECT