Salome HOME
Make initialization plugin:
[modules/shaper.git] / src / Model / Model_Document.h
index bffcc81bcf5012b1f32ceec10658c328d3f52394..7ec9e073ec262be0a5a82217f35cabf9c7f15418 100644 (file)
@@ -208,6 +208,9 @@ class Model_Document : public ModelAPI_Document
   //! Returns the list of Ids of the operations that can be redoed (called for the root document)
   std::list<std::string> redoList() const;
 
+  /// Internally makes document know that feature was removed or added in history after creation
+  MODEL_EXPORT virtual void addToHistory(const std::shared_ptr<ModelAPI_Object> theObject);
+
   friend class Model_Application;
   friend class Model_Session;
   friend class Model_Update;