mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
refs #250, helper methods
* in aircraft class to compare COM * in context / runtime component to check vitality of core
This commit is contained in:
@@ -88,6 +88,12 @@ namespace BlackGui
|
||||
//! \remarks use this methods to hook up signal/slots with runtime
|
||||
virtual void runtimeHasBeenSet() {}
|
||||
|
||||
//! \copydoc CRuntime::hasRemoteApplicationContext
|
||||
bool hasRemoteApplicationContext() const { return this->m_runtime->hasRemoteApplicationContext(); }
|
||||
|
||||
//! \copydoc CRuntime::canPingApplicationContext
|
||||
bool canPingApplicationContext() const { return this->m_runtime->canPingApplicationContext(); }
|
||||
|
||||
private:
|
||||
BlackCore::CRuntime *m_runtime;
|
||||
bool m_runtimeOwner;
|
||||
|
||||
Reference in New Issue
Block a user