This commit is contained in:
Klaus Basan
2019-08-15 20:25:20 +02:00
committed by Mat Sutcliffe
parent fab6e677a8
commit aa765e9adb
3 changed files with 8 additions and 8 deletions

View File

@@ -309,7 +309,6 @@ namespace BlackSimPlugin
}
bool CFGSwiftBusServiceProxy::getStrobeLightsOn() const
{
return m_dbusInterface->callDBusRet<bool>(QLatin1String("getStrobeLightsOn"));
}

View File

@@ -276,6 +276,7 @@ namespace BlackSimPlugin
{
if (isConnected())
{
// own aircraft data
m_serviceProxy->getAircraftModelPathAsync(&m_xplaneData.aircraftModelPath); // this is NOT the model string
m_serviceProxy->getAircraftIcaoCodeAsync(&m_xplaneData.aircraftIcaoCode);
m_serviceProxy->getBeaconLightsOnAsync(&m_xplaneData.beaconLightsOn);

View File

@@ -536,6 +536,13 @@ namespace XSwiftBus
sendDBusReply(sender, serial, getLandingLightsOn());
});
}
else if (message.getMethodName() == "getTaxiLightsOn")
{
queueDBusCall([ = ]()
{
sendDBusReply(sender, serial, getTaxiLightsOn());
});
}
else if (message.getMethodName() == "getNavLightsOn")
{
queueDBusCall([ = ]()
@@ -550,13 +557,6 @@ namespace XSwiftBus
sendDBusReply(sender, serial, getStrobeLightsOn());
});
}
else if (message.getMethodName() == "getTaxiLightsOn")
{
queueDBusCall([ = ]()
{
sendDBusReply(sender, serial, getTaxiLightsOn());
});
}
else if (message.getMethodName() == "getQNHInHg")
{
queueDBusCall([ = ]()