X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_Operation.h;h=0fffbc0fdae9bea6f8bfd4fbf3e9678e2b79f2f1;hb=622ac935fd1d8a5bc282ee127666a3e9d1954713;hp=9a34e6423d326db9d12ac3012448614579acda58;hpb=9503b9474d57935de95296dfe6587f6422a6d85d;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_Operation.h b/src/ModuleBase/ModuleBase_Operation.h index 9a34e6423..0fffbc0fd 100644 --- a/src/ModuleBase/ModuleBase_Operation.h +++ b/src/ModuleBase/ModuleBase_Operation.h @@ -90,12 +90,18 @@ Q_OBJECT ModuleBase_IPropertyPanel* propertyPanel() const { return myPropertyPanel; } signals: + /// The operation is started + void beforeStarted(); /// The operation is started void started(); + /// The operation is aborted + void beforeAborted(); /// The operation is aborted void aborted(); + /// The operation is committed + void beforeCommitted(); /// The operation is committed void committed(); @@ -115,7 +121,8 @@ signals: /// to change behavior of operation. There is no point in using this method. It would /// be better to inherit own operator from base one and redefine startOperation method /// instead. - virtual void start(); + /// \return true if the start is successful + virtual bool start(); /// Deactivates current operation which can be resumed later. virtual void postpone();