X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBooleanGUI%2FBooleanGUI.h;h=9de8c7bd262c4ef5184c552f315effe35d327258;hb=ef6997a915bc1eae6141b4182e69788ed10176c9;hp=d7773d16a203de1811763b8752f3f22600d9e381;hpb=d3dd282390888d7dc091ba2c2ffe7923bd7458e6;p=modules%2Fgeom.git diff --git a/src/BooleanGUI/BooleanGUI.h b/src/BooleanGUI/BooleanGUI.h index d7773d16a..9de8c7bd2 100644 --- a/src/BooleanGUI/BooleanGUI.h +++ b/src/BooleanGUI/BooleanGUI.h @@ -17,14 +17,13 @@ // 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 @@ -37,21 +36,13 @@ //================================================================================= class BooleanGUI : public GEOMGUI { -protected: - BooleanGUI(); // 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(); - - bool OnGUIEvent(int theCommandID, QAD_Desktop* parent); - -private: - static BooleanGUI* myGUIObject; // the only BooleanGUI object + bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent); }; #endif