X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBlocksGUI%2FBlocksGUI.h;h=b9d48fb0e3454a2caee6b5780d4828dca14dda55;hb=e058a9902378d056e0b947cfd2ca6b4d68bf5724;hp=513b8accfee12630f95cdea1d9cba8a90969ba77;hpb=d3dd282390888d7dc091ba2c2ffe7923bd7458e6;p=modules%2Fgeom.git diff --git a/src/BlocksGUI/BlocksGUI.h b/src/BlocksGUI/BlocksGUI.h index 513b8accf..b9d48fb0e 100644 --- a/src/BlocksGUI/BlocksGUI.h +++ b/src/BlocksGUI/BlocksGUI.h @@ -1,6 +1,7 @@ -// GEOM GEOMGUI : GUI for Geometry component +// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE // -// Copyright (C) 2003 CEA +// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -16,19 +17,16 @@ // 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.salome-platform.org or email : webmaster.salome@opencascade.org +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // +// GEOM GEOMGUI : GUI for Geometry component +// File : BuildGUI.h +// Author : Julia DOROVSKIKH, Open CASCADE S.A.S. (julia.dorovskikh@opencascade.com) // -// -// File : BuildGUI.h -// Author : Julia DOROVSKIKH -// Module : GEOM -// $Header$ - #ifndef BLOCKSGUI_H #define BLOCKSGUI_H -#include "GEOMGUI.h" +#include //================================================================================= // class : BlocksGUI @@ -36,19 +34,11 @@ //================================================================================= class BlocksGUI : public GEOMGUI { - protected: - BlocksGUI(); // hide constructor to avoid direct creation - - public: +public: + BlocksGUI( GeometryGUI* ); ~BlocksGUI(); - // Get the only BuildGUI object - static BlocksGUI* GetBlocksGUI(); - - bool OnGUIEvent (int theCommandID, QAD_Desktop* parent); - -private: - static BlocksGUI* myGUIObject; // the only BlocksGUI object + bool OnGUIEvent( int, SUIT_Desktop* ); }; -#endif +#endif // BLOCKSGUI_H