Salome HOME
Small fix of ImportNaming.
[modules/shaper.git] / src / Model / Model_Application.h
index aa25bcb4e161c9b6bfa1a389a12dff6942618463..d1156b2844e80a7daacbfd107b9299bfe8d1da73 100644 (file)
@@ -49,6 +49,9 @@ class Model_Application : public TDocStd_Application
   void setLoadByDemand(std::string theID);
   //! Returns true if specified document must be loaded by demand
   bool isLoadByDemand(std::string theID);
+  //! Closes and removes the documents that are not loaded by demand and
+  //! not in the given list
+  void removeUselessDocuments(std::list<std::shared_ptr<ModelAPI_Document> > theUsedDocs);
 
  public:
   // Redefined OCAF methods