mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 02:35:33 +08:00
refs #533, fix callsign validation and split into functions for ATC/aircraft
This commit is contained in:
@@ -140,7 +140,7 @@ namespace BlackMisc
|
||||
bool hasAircraftAndAirlineDesignator() const;
|
||||
|
||||
//! Valid callsign?
|
||||
bool hasValidCallsign() const { return BlackMisc::Aviation::CCallsign::isValidCallsign(this->getCallsign().asString()); }
|
||||
bool hasValidCallsign() const { return BlackMisc::Aviation::CCallsign::isValidAircraftCallsign(this->getCallsign().asString()); }
|
||||
|
||||
//! Callsign not empty, no further checks
|
||||
bool hasCallsign() const { return !getCallsign().isEmpty(); }
|
||||
|
||||
Reference in New Issue
Block a user