mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Ref T298, get/set matching setup in context plus some minor style fixes
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user