Salome HOME
Update GUI documentation for bugs 16559
[modules/geom.git] / src / BuildGUI / BuildGUI.h
index 7d50e69676aa51b3fa7f78322b0059c9d9cb1ec6..60e57a347ae9f3a960fb513c9909ebd364311193 100644 (file)
 //  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   : BuildGUI.h
 //  Author : Damien COQUERET
 //  Module : GEOM
-//  $Header: 
 
 #ifndef BUILDGUI_H
 #define BUILDGUI_H
 
-#include "GEOMBase.h"
-#include <gp_Pnt.hxx>
+#include "GEOM_BuildGUI.hxx"
+
+#include "GEOMGUI.h"
 
 //=================================================================================
 // class    : BuildGUI
 // purpose  :
 //=================================================================================
-class BuildGUI : public QObject
+class GEOM_BUILDGUI_EXPORT BuildGUI : public GEOMGUI
 {
-  Q_OBJECT /* for QT compatibility */
-
 public :
-  BuildGUI();
+  BuildGUI( GeometryGUI* parent );
   ~BuildGUI();
 
-  static bool OnGUIEvent(int theCommandID, QAD_Desktop* parent);
-
-  void MakeLinearEdgeAndDisplay(const gp_Pnt P1, const gp_Pnt P2);
-  void MakeWireAndDisplay(GEOM::GEOM_Gen::ListOfIOR& listShapesIOR);
-  void MakeFaceAndDisplay(GEOM::GEOM_Gen::ListOfIOR& listShapesIOR,
-                         const Standard_Boolean wantPlanar);
-  void MakeShellAndDisplay(GEOM::GEOM_Gen::ListOfIOR& listShapesIOR);
-  void MakeSolidAndDisplay(GEOM::GEOM_Gen::ListOfIOR& listShapesIOR);
-  void MakeCompoundAndDisplay(GEOM::GEOM_Gen::ListOfIOR& listShapesIOR);
-
-  GEOMBase* myGeomBase;
-  GEOMContext* myGeomGUI;
-  GEOM::GEOM_Gen_var myGeom;   /* Current Geom Component */
-
+  bool OnGUIEvent( int theCommandID, SUIT_Desktop* parent );
 };
 
 #endif