mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #242, context object from runtime
This commit is contained in:
@@ -14,7 +14,7 @@ namespace BlackCore
|
||||
class CContextApplication;
|
||||
class CContextAudio;
|
||||
class CContextNetwork;
|
||||
class ContextOwnAircraft;
|
||||
class CContextOwnAircraft;
|
||||
class CContextSettings;
|
||||
class CContextSimulator;
|
||||
class IContextApplication;
|
||||
@@ -168,6 +168,14 @@ namespace BlackCore
|
||||
//! \remarks only applicable for local object
|
||||
const CContextAudio *getCContextAudio() const;
|
||||
|
||||
//! Context for own aircraft
|
||||
//! \remarks only applicable for local object
|
||||
CContextOwnAircraft *getCContextOwnAircraft();
|
||||
|
||||
//! Context for own aircraft
|
||||
//! \remarks only applicable for local object
|
||||
const CContextOwnAircraft *getCContextOwnAircraft() const;
|
||||
|
||||
//! Context for simulator
|
||||
//! \remarks only applicable for local object
|
||||
CContextSimulator *getCContextSimulator();
|
||||
@@ -179,6 +187,7 @@ namespace BlackCore
|
||||
//! Init
|
||||
void init(const CRuntimeConfig &config);
|
||||
|
||||
|
||||
private:
|
||||
bool m_init; /*!< flag */
|
||||
CDBusServer *m_dbusServer;
|
||||
|
||||
Reference in New Issue
Block a user