X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_Operation.h;h=0fffbc0fdae9bea6f8bfd4fbf3e9678e2b79f2f1;hb=86c435d69e7b27d36c037ed028d79d8f32f021ac;hp=12e5ddb86a91ef2d4f581da500541337fb292c53;hpb=8c56aa1d9ce74e35df11472ab3542f6653a5ba51;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_Operation.h b/src/ModuleBase/ModuleBase_Operation.h index 12e5ddb86..0fffbc0fd 100644 --- a/src/ModuleBase/ModuleBase_Operation.h +++ b/src/ModuleBase/ModuleBase_Operation.h @@ -92,14 +92,17 @@ Q_OBJECT 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(); /// The operation is aborted or committed @@ -118,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();