mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:55:33 +08:00
Ref T384, check for ATC suffix
This commit is contained in:
@@ -161,6 +161,12 @@ namespace BlackMisc
|
||||
return this->getStringAsSet().contains('_');
|
||||
}
|
||||
|
||||
bool CCallsign::hasAtcSuffix() const
|
||||
{
|
||||
const QString s = this->getSuffix();
|
||||
return !s.isEmpty() && atcCallsignSuffixes().contains(s);
|
||||
}
|
||||
|
||||
bool CCallsign::equalsString(const QString &callsignString) const
|
||||
{
|
||||
CCallsign other(callsignString);
|
||||
|
||||
Reference in New Issue
Block a user