mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Fixed adding the hardcoded test servers in a dev. environment
(issue found during debugging of #533) Added some functions to find similar servers by address/port
This commit is contained in:
@@ -139,9 +139,12 @@ namespace BlackMisc
|
||||
//! Valid designators?
|
||||
bool hasAircraftAndAirlineDesignator() const;
|
||||
|
||||
//! Valid callsign
|
||||
//! Valid callsign?
|
||||
bool hasValidCallsign() const { return BlackMisc::Aviation::CCallsign::isValidCallsign(this->getCallsign().asString()); }
|
||||
|
||||
//! Callsign not empty, no further checks
|
||||
bool hasCallsign() const { return !getCallsign().isEmpty(); }
|
||||
|
||||
//! Get position
|
||||
BlackMisc::Geo::CCoordinateGeodetic getPosition() const { return this->m_situation.getPosition(); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user