mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Check for known model so mapping component can check without loaded model set
This commit is contained in:
@@ -141,6 +141,11 @@ namespace BlackCore
|
||||
return m_dBusInterface->callDBusRet<QStringList>(QLatin1String("getModelSetCompleterStrings"), sorted);
|
||||
}
|
||||
|
||||
bool CContextSimulatorProxy::isKnownModel(const QString &modelString) const
|
||||
{
|
||||
return m_dBusInterface->callDBusRet<bool>(QLatin1String("isKnownModel"), modelString);
|
||||
}
|
||||
|
||||
CAircraftModelList CContextSimulatorProxy::getModelSetModelsStartingWith(const QString &modelString) const
|
||||
{
|
||||
return m_dBusInterface->callDBusRet<BlackMisc::Simulation::CAircraftModelList>(QLatin1String("getModelSetModelsStartingWith"), modelString);
|
||||
|
||||
Reference in New Issue
Block a user