mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 16:56:53 +08:00
refs #395, improved synchronization of booked and online stations
* moved sync functionality into CAtcStation * consolidated function names
This commit is contained in:
committed by
Mathew Sutcliffe
parent
f7158f17f9
commit
79e2a7b805
@@ -28,9 +28,7 @@
|
||||
|
||||
namespace BlackCore
|
||||
{
|
||||
/*!
|
||||
* Read bookings from VATSIM
|
||||
*/
|
||||
//! Read bookings from VATSIM
|
||||
class BLACKCORE_EXPORT CVatsimDataFileReader : public BlackMisc::CThreadedReader
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -39,14 +37,22 @@ namespace BlackCore
|
||||
//! Constructor
|
||||
explicit CVatsimDataFileReader(QObject *owner, const QStringList &urls);
|
||||
|
||||
//! Get aircrafts
|
||||
//! Get aircraft
|
||||
//! \threadsafe
|
||||
BlackMisc::Aviation::CAircraftList getAircraft() const;
|
||||
|
||||
//! Get aircrafts
|
||||
//! Get ATC station
|
||||
//! \threadsafe
|
||||
BlackMisc::Aviation::CAtcStationList getAtcStations() const;
|
||||
|
||||
//! Get ATC stations for callsign
|
||||
//! \threadsafe
|
||||
BlackMisc::Aviation::CAtcStationList getAtcStationsForCallsign(const BlackMisc::Aviation::CCallsign &callsign) const;
|
||||
|
||||
//! Get ATC stations for callsigns
|
||||
//! \threadsafe
|
||||
BlackMisc::Aviation::CAtcStationList getAtcStationsForCallsigns(const BlackMisc::Aviation::CCallsignSet &callsigns) const;
|
||||
|
||||
//! Get all voice servers
|
||||
//! \threadsafe
|
||||
BlackMisc::Network::CServerList getVoiceServers() const;
|
||||
@@ -103,7 +109,7 @@ namespace BlackCore
|
||||
|
||||
private:
|
||||
QNetworkAccessManager *m_networkManager = nullptr;
|
||||
QStringList m_serviceUrls; /*!< URL of the service */
|
||||
QStringList m_serviceUrls; //!< URL of the service
|
||||
int m_currentUrlIndex;
|
||||
BlackMisc::Network::CServerList m_voiceServers;
|
||||
BlackMisc::Network::CServerList m_fsdServers;
|
||||
|
||||
Reference in New Issue
Block a user