]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/Model/Model_Application.h
Salome HOME
Correctly close the document on opening the new one
[modules/shaper.git] / src / Model / Model_Application.h
index ae68024eec9443ce54dd8f0d12ccf87887f4752e..d9eb4bb200cc3b1ece948bda72524aed6d5707d7 100644 (file)
@@ -36,6 +36,8 @@ class Model_Application : public TDocStd_Application
   MODEL_EXPORT bool hasDocument(std::string theDocID);
   //! Deletes the document from the application
   MODEL_EXPORT void deleteDocument(std::string theDocID);
+  //! Deletes all documents existing in the application
+  MODEL_EXPORT void deleteAllDocuments();
 
   //! Set path for the loaded by demand documents
   void setLoadPath(std::string thePath);