refs #268 slots in XBus::CService to detect whether the aircraft is on the ground

This commit is contained in:
Mathew Sutcliffe
2014-06-15 19:28:31 +01:00
parent 19927ab9d4
commit f430b65d39
3 changed files with 24 additions and 0 deletions

View File

@@ -122,6 +122,16 @@ namespace BlackSimPlugin
return m_dbusInterface->callDBusRet<double>(QLatin1String("getTrueHeading"));
}
bool CXBusServiceProxy::getAnyWheelOnGround() const
{
return m_dbusInterface->callDBusRet<bool>(QLatin1String("getAnyWheelOnGround"));
}
bool CXBusServiceProxy::getAllWheelsOnGround() const
{
return m_dbusInterface->callDBusRet<bool>(QLatin1String("getAllWheelsOnGround"));
}
int CXBusServiceProxy::getCom1Active() const
{
return m_dbusInterface->callDBusRet<int>(QLatin1String("getCom1Active"));

View File

@@ -112,6 +112,12 @@ namespace BlackSimPlugin
//! \copydoc XBus::CService::getTrueHeading
double getTrueHeading() const;
//! Get whether any wheel is on the ground
bool getAnyWheelOnGround() const;
//! Get whether all wheels are on the ground
bool getAllWheelsOnGround() const;
//! \copydoc XBus::CService::getCom1Active
int getCom1Active() const;