mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-10 03:16:09 +08:00
refs #568, allow to read incremental data based on timestamp
* signatures with QDateTime * flags
This commit is contained in:
@@ -36,7 +36,7 @@ namespace BlackCoreTest
|
||||
m_icaoReader.start();
|
||||
Expect e(&this->m_icaoReader);
|
||||
EXPECT_UNIT(e)
|
||||
.send(&CIcaoDataReader::readInBackgroundThread, CEntityFlags::AllIcaoEntities)
|
||||
.send(&CIcaoDataReader::readInBackgroundThread, CEntityFlags::AllIcaoEntities, QDateTime())
|
||||
.expect(&CIcaoDataReader::dataRead, [url]()
|
||||
{
|
||||
qDebug() << "Read ICAO data from" << url.getFullUrl();
|
||||
@@ -59,7 +59,7 @@ namespace BlackCoreTest
|
||||
m_modelReader.start();
|
||||
Expect e(&this->m_modelReader);
|
||||
EXPECT_UNIT(e)
|
||||
.send(&CModelDataReader::readInBackgroundThread, CEntityFlags::AllIcaoEntities)
|
||||
.send(&CModelDataReader::readInBackgroundThread, CEntityFlags::DistributorLiveryModel, QDateTime())
|
||||
.expect(&CModelDataReader::dataRead, [url]()
|
||||
{
|
||||
qDebug() << "Read model data " << url;
|
||||
|
||||
Reference in New Issue
Block a user