bool Model_Session::load(const char* theFileName)
{
- bool aRes = ROOT_DOC->load(theFileName);
+ bool aRes = ROOT_DOC->load(theFileName, ROOT_DOC);
return aRes;
}
void Model_Session::closeAll()
{
Model_Application::getApplication()->deleteAllDocuments();
- ROOT_DOC->close(true);
}
void Model_Session::startOperation(const std::string& theId)
return aResult;
}
+bool Model_Session::isLoadByDemand(const std::string theDocID)
+{
+ return Model_Application::getApplication()->isLoadByDemand(theDocID);
+}
+
std::shared_ptr<ModelAPI_Document> Model_Session::copy(
std::shared_ptr<ModelAPI_Document> theSource, std::string theID)
{