X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Session.h;h=7b7afe2b585f72703359e20e3d4c0d9d3809b129;hb=b0196aeefbaa53754b1052fab904386707caad87;hp=7342ae2d35845dab086fdf2cad9af3d0fa477f91;hpb=2714903267d23cd0c81166c506fb3edd1e069d40;p=modules%2Fshaper.git diff --git a/src/Model/Model_Session.h b/src/Model/Model_Session.h index 7342ae2d3..7b7afe2b5 100644 --- a/src/Model/Model_Session.h +++ b/src/Model/Model_Session.h @@ -144,6 +144,13 @@ class Model_Session : public ModelAPI_Session, public Events_Listener /// Returns the global identifier of the current transaction (needed for the update algo) MODEL_EXPORT virtual int transactionID(); + + /// Returns true if auto-update in the application is blocked + MODEL_EXPORT virtual bool isAutoUpdateBlocked(); + + /// Set state of the auto-update of features result in the application + MODEL_EXPORT virtual void blockAutoUpdate(const bool theBlock); + protected: /// Loads (if not done yet) the information about the features and plugins void LoadPluginsInfo();