Ref T298, get/set matching setup in context plus some minor style fixes

This commit is contained in:
Klaus Basan
2018-08-06 01:40:37 +02:00
parent 6fbdd700ae
commit 0b952e7336
7 changed files with 52 additions and 4 deletions

View File

@@ -752,6 +752,18 @@ namespace BlackCore
statistics;
}
void CContextSimulator::setMatchingSetup(const CAircraftMatcherSetup &setup)
{
if (m_debugEnabled) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO << setup.toQString(); }
m_aircraftMatcher.setSetup(setup);
}
CAircraftMatcherSetup CContextSimulator::getMatchingSetup() const
{
if (m_debugEnabled) { CLogMessage(this, CLogCategory::contextSlot()).debug() << Q_FUNC_INFO; }
return m_aircraftMatcher.getSetup();
}
bool CContextSimulator::parseCommandLine(const QString &commandLine, const CIdentifier &originator)
{
Q_UNUSED(originator);