X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FBuildGUI%2FBuildGUI.h;h=1ae6aed71297b4223b6773d5e683bff4805e2243;hb=8e1ef24a91d1db7af5b9e7b3bae0f39048846c49;hp=4b50efd9ae56c9672d85cc416daab5e583ebc76d;hpb=9499b99fe2dcb53e1ea364f97986f8f432b04600;p=modules%2Fgeom.git diff --git a/src/BuildGUI/BuildGUI.h b/src/BuildGUI/BuildGUI.h index 4b50efd9a..1ae6aed71 100644 --- a/src/BuildGUI/BuildGUI.h +++ b/src/BuildGUI/BuildGUI.h @@ -1,35 +1,32 @@ -// GEOM GEOMGUI : GUI for Geometry component +// Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE // -// Copyright (C) 2003 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 -// License as published by the Free Software Foundation; either -// version 2.1 of the License. -// -// This library is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -// Lesser General Public License for more details. -// -// You should have received a copy of the GNU Lesser General Public -// 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.com +// 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 +// License as published by the Free Software Foundation; either +// version 2.1 of the License. // +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// 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.com +// +// GEOM GEOMGUI : GUI for Geometry component +// File : BuildGUI.h +// Author : Damien COQUERET, Open CASCADE S.A.S. // -// File : BuildGUI.h -// Author : Damien COQUERET -// Module : GEOM -// $Header$ - #ifndef BUILDGUI_H #define BUILDGUI_H -#include "GEOMGUI.h" +#include //================================================================================= // class : BuildGUI @@ -37,19 +34,11 @@ //================================================================================= class BuildGUI : public GEOMGUI { -protected: - BuildGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation - public : + BuildGUI( GeometryGUI* ); ~BuildGUI(); - // Get the only BuildGUI object - static BuildGUI* GetBuildGUI( GeometryGUI* parent ); - - bool OnGUIEvent( int theCommandID, SUIT_Desktop* parent ); - -private: - static BuildGUI* myGUIObject; // the only BuildGUI object + bool OnGUIEvent( int, SUIT_Desktop* ); }; -#endif +#endif // BUILDGUI_H