mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-30 22:29:13 +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
@@ -50,14 +50,10 @@ namespace BlackMisc
|
||||
//! All controllers (with valid data)
|
||||
BlackMisc::Network::CUserList getControllers() const;
|
||||
|
||||
//! Merge with ATC station representing booking information.
|
||||
//! Syncronize with ATC station representing booking information.
|
||||
//! Both sides (booking, online station) will be updated.
|
||||
//! \remarks Can be used if the stored data in this list are online ATC stations
|
||||
int mergeWithBooking(CAtcStation &bookedAtcStation);
|
||||
|
||||
//! Merge with the data from the VATSIM data file
|
||||
//! \remarks Can be used if the stored data in this list are VATSIM data file stations
|
||||
bool updateFromVatsimDataFileStation(CAtcStation &stationToBeUpdated) const;
|
||||
//! \pre Can be used only if the stored data in this list are online ATC stations
|
||||
int syncronizeWithBookedStation(CAtcStation &bookedAtcStation);
|
||||
|
||||
//! \copydoc CValueObject::toQVariant
|
||||
QVariant toQVariant() const { return QVariant::fromValue(*this); }
|
||||
|
||||
Reference in New Issue
Block a user