Ref T515, functions for matcher setting/getting disabled models

This commit is contained in:
Klaus Basan
2019-01-22 21:35:08 +01:00
committed by Mat Sutcliffe
parent da92f3885c
commit faddf40ba7
7 changed files with 51 additions and 0 deletions

View File

@@ -180,6 +180,16 @@ namespace BlackCore
m_dBusInterface->callDBus(QLatin1String("disableModelsForMatching"), removedModels, incremental);
}
CAircraftModelList CContextSimulatorProxy::getDisabledModelsForMatching() const
{
return m_dBusInterface->callDBusRet<BlackMisc::Simulation::CAircraftModelList>(QLatin1String("getDisabledModelsForMatching"));
}
bool CContextSimulatorProxy::triggerModelSetValidation(const CSimulatorInfo &simulator)
{
return m_dBusInterface->callDBusRet<bool>(QLatin1String("triggerModelSetValidation"), simulator);
}
void CContextSimulatorProxy::restoreDisabledModels()
{
m_dBusInterface->callDBus(QLatin1String("restoreDisabledModels"));