mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-19 12:15:29 +08:00
Model reader refactorings
This commit is contained in:
@@ -68,9 +68,6 @@ namespace BlackCore
|
||||
virtual BlackMisc::Network::CUrl getDbServiceBaseUrl() const override;
|
||||
|
||||
private slots:
|
||||
//! Parse downloaded JSON file
|
||||
void ps_parseAirportData(QNetworkReply *nwReplyPtr);
|
||||
|
||||
//! Read / re-read data file
|
||||
void ps_read(BlackMisc::Network::CEntityFlags::Entity entity = BlackMisc::Network::CEntityFlags::DistributorLiveryModel,
|
||||
BlackMisc::Db::CDbFlags::DataRetrievalModeFlag mode = BlackMisc::Db::CDbFlags::DbReading, const QDateTime &newerThan = QDateTime());
|
||||
@@ -81,6 +78,9 @@ namespace BlackCore
|
||||
//! Reader URL (we read from where?) used to detect changes of location
|
||||
BlackMisc::CData<BlackCore::Data::TDbModelReaderBaseUrl> m_readerUrlCache {this, &CAirportDataReader::baseUrlCacheChanged };
|
||||
|
||||
//! Parse downloaded JSON file
|
||||
void parseAirportData(QNetworkReply *nwReplyPtr);
|
||||
|
||||
//! Airport cache changed
|
||||
void airportCacheChanged();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user