Ref T659, get network preset values from network vatlib

This commit is contained in:
Klaus Basan
2019-08-06 11:21:26 +02:00
committed by Mat Sutcliffe
parent 3b9f5bad46
commit cffab0954d
9 changed files with 56 additions and 13 deletions

View File

@@ -847,6 +847,12 @@ namespace BlackCore
return m_airspace->testAddAltitudeOffset(callsign, offset);
}
QStringList CContextNetwork::getNetworkPresetValues() const
{
if (!m_network) { return {}; }
return m_network->getPresetValues();
}
CAtcStation CContextNetwork::getOnlineStationForCallsign(const CCallsign &callsign) const
{
if (this->isDebugEnabled()) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO << callsign; }