Salome HOME
Merging with WPdev
[modules/geom.git] / src / DisplayGUI / DisplayGUI.h
index 981c1c58f0a80b48e2af502e69298bcf8b5ba70c..9e31f223c91686a9df8331ce7c60c4d12dc36c0f 100644 (file)
 #include "GEOMGUI.h"
 #include "GEOMBase.h"
 
-#if defined WNT && defined WIN32 && defined SALOME_WNT_EXPORTS
-#define DISPLAYGUI_WNT_EXPORT __declspec( dllexport )
+#ifdef WNT
+# if defined DISPLAYGUI_EXPORTS
+#  define GEOM_DISPLAYGUI_EXPORT __declspec( dllexport )
+# else
+#  define GEOM_DISPLAYGUI_EXPORT __declspec( dllimport )
+# endif
 #else
-#define DISPLAYGUI_WNT_EXPORT
+# define GEOM_DISPLAYGUI_EXPORT
 #endif
 
 //=================================================================================
@@ -43,7 +47,7 @@
 //=================================================================================
 //class QAD_ViewFrame;
 class SUIT_ViewWindow;
-class DisplayGUI : public GEOMGUI
+class GEOM_DISPLAYGUI_EXPORT DisplayGUI : public GEOMGUI
 {
 public:
   DisplayGUI( GeometryGUI* parent );