Ref T658, matching script support for flight number and callsign "as set"

This commit is contained in:
Klaus Basan
2019-06-13 21:43:51 +02:00
committed by Mat Sutcliffe
parent bab053a0a2
commit 4e24edcb0a
4 changed files with 63 additions and 31 deletions

View File

@@ -107,8 +107,16 @@ namespace BlackMisc
//! Get the callsign suffix ("TWR", "ATIS" ...) if any ("_" is removed)
QString getSuffix() const;
//! Airline suffix (e.g. DLH1234 -> DLH) if applicable
//! Airline suffix (e.g. DLH1234 -> DLH) if applicable @{
QString getAirlineSuffix() const;
QString getAirlineSuffix(QString &flightNumber) const;
// @}
//! Flight number (e.g. DLH1234 -> 1234) if applicable
QString getFlightNumber() const;
//! Flight number as integer
int getFlightNumberInt() const;
//! Suffix such as "_TWR"?
bool hasSuffix() const;