// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
//
//
//
// File : BooleanGUI.h
// Author : Damien COQUERET
// Module : GEOM
-// $Header$
#ifndef BOOLEANGUI_H
#define BOOLEANGUI_H
#include "GEOMGUI.h"
+#ifdef WNT
+ #if defined BOOLEANGUI_EXPORTS
+ #if defined WIN32
+ #define GEOM_BOOLEANGUI_EXPORT __declspec( dllexport )
+ #else
+ #define GEOM_BOOLEANGUI_EXPORT
+ #endif
+ #else
+ #if defined WIN32
+ #define GEOM_BOOLEANGUI_EXPORT __declspec( dllimport )
+ #else
+ #define GEOM_BOOLEANGUI_EXPORT
+ #endif
+ #endif
+#else
+ #define GEOM_BOOLEANGUI_EXPORT
+#endif
+
//=================================================================================
// class : BooleanGUI
// purpose :
//=================================================================================
-class BooleanGUI : public GEOMGUI
+class GEOM_BOOLEANGUI_EXPORT BooleanGUI : public GEOMGUI
{
-protected:
- BooleanGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation
-
public:
enum BooleanOperation { COMMON = 1, CUT = 2, FUSE = 3, SECTION = 4 };
+ BooleanGUI( GeometryGUI* parent );
~BooleanGUI();
- // Get the only BooleanGUI object
- static BooleanGUI* GetBooleanGUI( GeometryGUI* parent );
-
bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent);
-
-private:
- static BooleanGUI* myGUIObject; // the only BooleanGUI object
};
#endif