mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
refs #297 Added new network settings.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#define BLACKCORE_VATSIMBOOKINGREADER_H
|
||||
|
||||
#include "blackcoreexport.h"
|
||||
#include "blackcore/settings/network.h"
|
||||
#include "blackmisc/threadedreader.h"
|
||||
#include "blackmisc/aviation/atcstationlist.h"
|
||||
|
||||
@@ -30,7 +31,7 @@ namespace BlackCore
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CVatsimBookingReader(QObject *owner, const QString &url);
|
||||
explicit CVatsimBookingReader(QObject *owner);
|
||||
|
||||
//! Read / re-read bookings
|
||||
void readInBackgroundThread();
|
||||
@@ -44,7 +45,7 @@ namespace BlackCore
|
||||
void ps_read();
|
||||
|
||||
private:
|
||||
QString m_serviceUrl; //!< URL of the service
|
||||
CSetting<Settings::Network::BookingService> m_serviceUrl { this };
|
||||
QNetworkAccessManager *m_networkManager = nullptr;
|
||||
|
||||
signals:
|
||||
|
||||
Reference in New Issue
Block a user