X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_PolylineOp.h;h=2192aa5fe4df7aa955b62f43dcd8efde547b9b34;hb=a1431f03eac1d1aed4203d0568d987c41ce939b3;hp=614960dfecb719eeae3c0bc93ac8cc77b5b8c3d7;hpb=ca0e09c1e1bb19c9855e2f3839243da36097ee1c;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_PolylineOp.h b/src/HYDROGUI/HYDROGUI_PolylineOp.h index 614960df..2192aa5f 100755 --- a/src/HYDROGUI/HYDROGUI_PolylineOp.h +++ b/src/HYDROGUI/HYDROGUI_PolylineOp.h @@ -25,11 +25,10 @@ #include "HYDROGUI_Operation.h" -#include +#include class OCCViewer_ViewManager; class CurveCreator_Curve; -class HYDROGUI_AISCurve; class HYDROGUI_PolylineOp : public HYDROGUI_Operation { @@ -39,6 +38,9 @@ public: HYDROGUI_PolylineOp( HYDROGUI_Module* theModule, bool isEdit ); virtual ~HYDROGUI_PolylineOp(); + void deleteSelected(); + bool deleteEnabled(); + protected: virtual void startOperation(); virtual void abortOperation(); @@ -56,12 +58,11 @@ private: void erasePreview(); private: - OCCViewer_ViewManager* myViewManager; + OCCViewer_ViewManager* myViewManager; - bool myIsEdit; - Handle(HYDROData_Polyline) myEditedObject; - CurveCreator_Curve* myCurve; - HYDROGUI_AISCurve* myAISCurve; + bool myIsEdit; + Handle(HYDROData_PolylineXY) myEditedObject; + CurveCreator_Curve* myCurve; }; #endif