Ref T730, callsign set used for received callsigns

This commit is contained in:
Klaus Basan
2019-09-26 14:27:01 +02:00
committed by Mat Sutcliffe
parent 5a19bbdb5e
commit 7c89234f8c
7 changed files with 67 additions and 39 deletions

View File

@@ -21,6 +21,16 @@ namespace BlackMisc
{
CCallsignSet::CCallsignSet() { }
CCallsignSet::CCallsignSet(const QStringList &callsigns)
{
for (const QString &c : callsigns)
{
if (c.isEmpty()) { continue; }
const CCallsign cs(c);
this->push_back(cs);
}
}
CCallsignSet::CCallsignSet(const CCallsign &callsign)
{
if (callsign.isEmpty()) { return; }