mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 02:55:44 +08:00
Ref T684, better detection of callsign type for ATC stations
* detection in "CCallsign::unifyCallsign" * force ATC callsign in nAtisReplyReceived
This commit is contained in:
committed by
Mat Sutcliffe
parent
5da74faad0
commit
f6d078de34
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user