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

@@ -263,5 +263,15 @@ namespace BlackCore
{
return m_dBusInterface->callDBusRet<CMatchingStatistics>(QLatin1String("getCurrentMatchingStatistics"), missingOnly);
}
void CContextSimulatorProxy::setMatchingSetup(const CAircraftMatcherSetup &setup)
{
m_dBusInterface->callDBus(QLatin1String("setMatchingSetup"), setup);
}
CAircraftMatcherSetup CContextSimulatorProxy::getMatchingSetup() const
{
return m_dBusInterface->callDBusRet<CAircraftMatcherSetup>(QLatin1String("getMatchingSetup"));
}
} // namespace
} // namespace