Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Small fix of ImportNaming.
[modules/shaper.git]
/
src
/
Model
/
Model_Application.h
diff --git
a/src/Model/Model_Application.h
b/src/Model/Model_Application.h
index aa25bcb4e161c9b6bfa1a389a12dff6942618463..d1156b2844e80a7daacbfd107b9299bfe8d1da73 100644
(file)
--- 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);
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
public:
// Redefined OCAF methods