Salome HOME
Code alignment.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_TwoImagesOp.h
index d5b3306d87a8390b2eadf9f90dc8778b988616a2..d537f4c6ef8ca8e42597e2ec31ec65fc2438e569 100644 (file)
 
 #include "HYDROGUI_Operation.h"
 
+#include <HYDROData_Image.h>
+
 class HYDROGUI_TwoImagesOp : public HYDROGUI_Operation
 {
   Q_OBJECT
 
 public:
-  enum OperationType { Fuse, Cut };
+  enum OperationType { Fuse, Cut, Edit };
 
 public:
   HYDROGUI_TwoImagesOp( HYDROGUI_Module* theModule, const int theType );
   virtual ~HYDROGUI_TwoImagesOp();
 
 protected:
+  virtual void               startOperation();
+
   virtual HYDROGUI_InputPanel* createInputPanel() const;
 
-  virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg );
+  virtual bool               processApply( int& theUpdateFlags, QString& theErrorMsg );
 
 private:
-  int myType;
+  int                        myType;
+  bool                       myIsEdit;
+  Handle(HYDROData_Image)    myEditedObject;
 };
 
 #endif