mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 07:35:41 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user