Ref T684, better detection of callsign type for ATC stations

* detection in "CCallsign::unifyCallsign"
* force ATC callsign in nAtisReplyReceived
This commit is contained in:
Klaus Basan
2019-06-16 20:23:04 +02:00
committed by Mat Sutcliffe
parent 5da74faad0
commit f6d078de34
3 changed files with 40 additions and 12 deletions

View File

@@ -89,6 +89,9 @@ namespace BlackMisc
//! Get callsign.
const QString &getStringAsSet() const { return m_callsignAsSet; }
//! Same as set callsign?
bool isSameAsSet() const;
//! Get callsign telephony designator (how callsign is pronounced)
const QString &getTelephonyDesignator() const { return m_telephonyDesignator; }
@@ -175,6 +178,9 @@ namespace BlackMisc
//! List of real ("TWR") and treated like ATC suffixes (e.g. OBS);
static const QStringList &atcAlikeCallsignSuffixes();
//! Does this look like an ATC callsign
static bool looksLikeAtcCallsign(const QString &callsign);
//! Suffix to icon
static const CIcon &atcSuffixToIcon(const QString &suffix);