X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModel%2FModel_Application.h;h=d1156b2844e80a7daacbfd107b9299bfe8d1da73;hb=a352874d231ad2b117f55cf384c18361a0dfe67a;hp=aa25bcb4e161c9b6bfa1a389a12dff6942618463;hpb=9b72b6fe0f393c31c397cfb21b541e3b599a62e0;p=modules%2Fshaper.git diff --git a/src/Model/Model_Application.h b/src/Model/Model_Application.h index aa25bcb4e..d1156b284 100644 --- a/src/Model/Model_Application.h +++ b/src/Model/Model_Application.h @@ -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 > theUsedDocs); public: // Redefined OCAF methods