]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Data.h
Salome HOME
Make automatic/manual rebuild property and connect the "Rebuild" button
[modules/shaper.git] / src / Model / Model_Data.h
index 94490d4aa6e3542842df307cb3b33d05de60a123..136e4504ffa310ce30d8179a2c45237c00358f52 100644 (file)
@@ -129,6 +129,13 @@ class Model_Data : public ModelAPI_Data
   }
 
   MODEL_EXPORT virtual void erase();
+
+  /// Makes feature must be updated later (on rebuild). Normally the Updater must call it
+  /// in case of not-automatic update to true
+  MODEL_EXPORT virtual void mustBeUpdated(const bool theFlag);
+
+  /// Returns true if feature must be updated (re-executed) on rebuild
+  MODEL_EXPORT virtual bool mustBeUpdated();
 };
 
 #endif