Added "isWeatherActivated" based on the discussion with LT

This commit is contained in:
Klaus Basan
2019-02-27 21:55:39 +01:00
committed by Mat Sutcliffe
parent f98ba0e494
commit 6ca6d12851
8 changed files with 34 additions and 4 deletions

View File

@@ -287,6 +287,11 @@ namespace BlackCore
return m_dBusInterface->callDBusRet<bool>(QLatin1String("resetToModelMatchingAircraft"), callsign);
}
bool CContextSimulatorProxy::isWeatherActivated() const
{
return m_dBusInterface->callDBusRet<bool>(QLatin1String("isWeatherActivated"));
}
void CContextSimulatorProxy::setWeatherActivated(bool activated)
{
m_dBusInterface->callDBus(QLatin1String("setWeatherActivated"), activated);