X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FEntityGUI%2FEntityGUI.h;h=43e754f8326bf0bfd09932f41a69de8b1594165b;hb=834cb7fe6f1439d5c8a817b2f39ef06ea85b5467;hp=0b73561732d3d5be6afda53b49f5e3bbba1db457;hpb=f9268f4b0187dfe261c07613eac2cb5493215c33;p=modules%2Fgeom.git diff --git a/src/EntityGUI/EntityGUI.h b/src/EntityGUI/EntityGUI.h index 0b7356173..43e754f83 100644 --- a/src/EntityGUI/EntityGUI.h +++ b/src/EntityGUI/EntityGUI.h @@ -1,38 +1,34 @@ -// GEOM GEOMGUI : GUI for Geometry component +// GEOM GEOMGUI : GUI for Geometry component // -// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, -// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// 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 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. +// 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 +// 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 +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // +// File : EntityGUI.h +// Author : Damien COQUERET, Open CASCADE S.A.S. // -// -// File : EntityGUI.h -// Author : Damien COQUERET -// Module : GEOM #ifndef ENTITYGUI_H #define ENTITYGUI_H -#include "GEOM_EntityGUI.hxx" - -#include "GEOMGUI.h" +#include -#include "SALOMEDSClient.hxx" +#include #include @@ -42,23 +38,24 @@ class TopoDS_Shape; // class : EntityGUI // purpose : //================================================================================= -class GEOM_ENTITYGUI_EXPORT EntityGUI : public GEOMGUI +class EntityGUI : public GEOMGUI { public : - EntityGUI( GeometryGUI* parent ); // hide constructor to avoid direct creation + EntityGUI( GeometryGUI* ); ~EntityGUI(); - bool OnGUIEvent(int theCommandID, SUIT_Desktop* parent); + bool OnGUIEvent( int, SUIT_Desktop* ); - void DisplaySimulationShape(const TopoDS_Shape& S1, const TopoDS_Shape& S2); - void EraseSimulationShape(); + void DisplaySimulationShape( const TopoDS_Shape&, const TopoDS_Shape& ); + void EraseSimulationShape(); // Methods for sub shapes explode - bool SObjectExist(const _PTR(SObject)& theFatherObject, const char* IOR); + bool SObjectExist( const _PTR(SObject)&, const char* ); +public: // AIS shape used only during topo/geom simulations Handle(AIS_Shape) mySimulationShape1; Handle(AIS_Shape) mySimulationShape2; }; -#endif +#endif // ENTITYGUI_H