Salome HOME
Prepare version 1.2.1: quick fix for iteration 2 release
[modules/shaper.git] / src / Model / Model_Update.h
index 9eed59029039bf88b463321f05250b3ed0a973a0..c28d30b255ca3cba728e4a94e9713f3700c640fc 100644 (file)
@@ -31,6 +31,8 @@ class Model_Update : public Events_Listener
   bool myIsExecuted;
   /// to know execute or not automatically all update
   bool myIsAutomatic;
+  /// to know that some parameter was changed during this operation
+  bool myIsParamUpdated;
 
  public:
   /// Is called only once, on startup of the application
@@ -60,6 +62,9 @@ protected:
   /// Performs the feature execution
   /// \returns the status of execution
   void executeFeature(std::shared_ptr<ModelAPI_Feature> theFeature);
+
+  /// returns true if the object was created or updated
+  bool isUpdated(const std::shared_ptr<ModelAPI_Object>& theObj);
 };
 
 #endif