]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/ModelAPI_Data.h
Salome HOME
Make automatic/manual rebuild property and connect the "Rebuild" button
[modules/shaper.git] / src / ModelAPI / ModelAPI_Data.h
index 36838a6efc05f471da4ea4549886bd04cb719ee0..e82a4c44ab1a5f438e4814ee51595f27e789078f 100644 (file)
@@ -91,6 +91,13 @@ class MODELAPI_EXPORT ModelAPI_Data
   {
   }
 
+  /// Makes feature must be updated later (on rebuild). Normally the Updater must call it
+  /// in case of not-automatic update to true
+  virtual void mustBeUpdated(const bool theFlag) = 0;
+
+  /// Returns true if feature must be updated (re-executed) on rebuild
+  virtual bool mustBeUpdated() = 0;
+
  protected:
   /// Objects are created for features automatically
   ModelAPI_Data()