#include "HYDROGUI_Operation.h"
+#include <HYDROData_Polyline.h>
+
+class CurveCreator_Curve;
+
class HYDROGUI_PolylineOp : public HYDROGUI_Operation
{
Q_OBJECT
public:
- HYDROGUI_PolylineOp( HYDROGUI_Module* theModule );
+ HYDROGUI_PolylineOp( HYDROGUI_Module* theModule, bool isEdit );
virtual ~HYDROGUI_PolylineOp();
protected:
virtual HYDROGUI_InputPanel* createInputPanel() const;
- virtual bool processApply( int& theUpdateFlags );
+ virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg );
+
+ virtual void startOperation();
+private:
+ bool myIsEdit;
+ Handle(HYDROData_Polyline) myEditedObject;
+ CurveCreator_Curve* myCurve;
};
#endif