Salome HOME
High level objects history implementation for Intersection and Compound features...
[modules/shaper.git] / src / Model / Model_Session.h
index 7342ae2d35845dab086fdf2cad9af3d0fa477f91..7b7afe2b585f72703359e20e3d4c0d9d3809b129 100644 (file)
@@ -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();