Functions to remove models from model set

This commit is contained in:
Klaus Basan
2019-09-06 19:02:39 +02:00
committed by Mat Sutcliffe
parent 79c947f8fa
commit 2e96caef5c
6 changed files with 35 additions and 0 deletions

View File

@@ -165,6 +165,11 @@ namespace BlackCore
return m_dBusInterface->callDBusRet<QStringList>(QLatin1String("getModelSetCompleterStrings"), sorted);
}
int CContextSimulatorProxy::removeModelsFromSet(const CAircraftModelList &removeModels)
{
return m_dBusInterface->callDBusRet<int>(QLatin1String("removeModelsFromSet"), removeModels);
}
bool CContextSimulatorProxy::isKnownModelInSet(const QString &modelString) const
{
return m_dBusInterface->callDBusRet<bool>(QLatin1String("isKnownModelInSet"), modelString);