mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 04:25:35 +08:00
* adjustments to use deferred caches * removed simulator from CAircraftModelSetLoader`s signature as it was not used * only change current simulator when explicitly set (avoid unintended setting) * added function to obtain number of elements from model caches
This commit is contained in:
@@ -62,13 +62,20 @@ namespace BlackCore
|
||||
Q_UNUSED(entities);
|
||||
}
|
||||
|
||||
QDateTime CInfoDataReader::getCacheTimestamp(CEntityFlags::Entity entity)
|
||||
QDateTime CInfoDataReader::getCacheTimestamp(CEntityFlags::Entity entity) const
|
||||
{
|
||||
// no caching used here
|
||||
Q_UNUSED(entity);
|
||||
return QDateTime();
|
||||
}
|
||||
|
||||
int CInfoDataReader::getCacheCount(CEntityFlags::Entity entity) const
|
||||
{
|
||||
// no caching used here
|
||||
Q_UNUSED(entity);
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool CInfoDataReader::hasChangedUrl(CEntityFlags::Entity entity) const
|
||||
{
|
||||
// not implemented
|
||||
|
||||
Reference in New Issue
Block a user