mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 07:15:35 +08:00
Style
This commit is contained in:
committed by
Mat Sutcliffe
parent
fab6e677a8
commit
aa765e9adb
@@ -309,7 +309,6 @@ namespace BlackSimPlugin
|
||||
}
|
||||
|
||||
bool CFGSwiftBusServiceProxy::getStrobeLightsOn() const
|
||||
|
||||
{
|
||||
return m_dbusInterface->callDBusRet<bool>(QLatin1String("getStrobeLightsOn"));
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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([ = ]()
|
||||
|
||||
Reference in New Issue
Block a user