Fixed not DBus registered method from CContextSimulator

CContextSimulator::ownAircraft was not a public slot and therefore
not available via DBus. In the same step renamed the method
to getOwnAircraft to be consistent.
This commit is contained in:
Roland Winklmeier
2014-03-12 00:41:55 +01:00
parent 200c2612e5
commit 805a751071
6 changed files with 15 additions and 16 deletions

View File

@@ -56,12 +56,6 @@ namespace BlackCore
*/
virtual bool usingLocalObjects() const = 0;
/*!
* \brief Get user aircraft value object
* \return
*/
virtual BlackMisc::Aviation::CAircraft ownAircraft() const = 0;
signals:
/*!
* \brief Emitted when the simulator connection changes
@@ -73,6 +67,12 @@ namespace BlackCore
//! Returns true when simulator is connected and available
virtual bool isConnected() const = 0;
/*!
* \brief Get user aircraft value object
* \return
*/
virtual BlackMisc::Aviation::CAircraft getOwnAircraft() const = 0;
};
} // namespace BlackCore