]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Application.h
Salome HOME
Implementation of features cashing and undo/redo functionality in document.
[modules/shaper.git] / src / Model / Model_Application.h
index 75aa172afbaae4798eac9f331427a73551aa4362..998aba08b0792db08a6c1112a9ef3de1cf6c01f5 100644 (file)
@@ -31,6 +31,8 @@ public:
   MODEL_EXPORT static Handle_Model_Application getApplication();
   //! Returns the main document (on first call creates it) by the string identifier
   MODEL_EXPORT std::shared_ptr<Model_Document> getDocument(std::string theDocID);
+  //! Deletes the document from the application
+  MODEL_EXPORT void deleteDocument(std::string theDocID);
 
 public:
   // Redefined OCAF methods