Allow to admit caches used in model set loader

This commit is contained in:
Klaus Basan
2017-01-05 02:31:10 +01:00
committed by Mathew Sutcliffe
parent 2a083f9113
commit 928dd9f34a
2 changed files with 8 additions and 0 deletions

View File

@@ -101,6 +101,11 @@ namespace BlackMisc
return this->m_caches.synchronizeCurrentCache();
}
bool CAircraftModelSetLoader::admitCache()
{
return this->m_caches.admitCurrentCache();
}
bool CAircraftModelSetLoader::hasCachedData() const
{
return !this->m_caches.getCurrentCachedModels().isEmpty();