mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-26 10:45:37 +08:00
refs #445, encapsulated web service based reading in CWebDataReader
* the reader will be used in context, but can also be used standalone (ie mapping GUI) GUI * adjustments in context/airspace as required ** for web reader ** livery * base class for database based reading (via JSON/web) * model data reader for models
This commit is contained in:
committed by
Mathew Sutcliffe
parent
6ccc23fb32
commit
c760f1d424
@@ -116,12 +116,6 @@ namespace BlackCore
|
||||
//! Terminated connection
|
||||
void connectionTerminated();
|
||||
|
||||
//! VATSIM data file was read
|
||||
void vatsimDataFileRead();
|
||||
|
||||
//! Bookings read
|
||||
void vatsimBookingsRead();
|
||||
|
||||
//! Connection status changed
|
||||
//! \param from old status
|
||||
//! \param to new status
|
||||
@@ -138,8 +132,30 @@ namespace BlackCore
|
||||
//! Text message sent (by me)
|
||||
void textMessageSent(const BlackMisc::Network::CTextMessage &sentMessage);
|
||||
|
||||
public slots:
|
||||
// --------------------------- data readers -------------------------------
|
||||
|
||||
//! Data file read
|
||||
void vatsimDataFileRead(int lines);
|
||||
|
||||
//! Bookings read
|
||||
void vatsimBookingsRead(int number);
|
||||
|
||||
//! ICAO codes read
|
||||
void aircraftIcaoCodeRead(int number);
|
||||
|
||||
//! ICAO codes read
|
||||
void airlineIcaoCodeRead(int number);
|
||||
|
||||
//! Liveries read
|
||||
void liveriesRead(int number);
|
||||
|
||||
//! Distributors read
|
||||
void distributorsRead(int number);
|
||||
|
||||
//! Number of models read
|
||||
void modelsRead(int number);
|
||||
|
||||
public slots:
|
||||
//! Reload bookings from booking service
|
||||
virtual void readAtcBookingsFromSource() const = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user