Ref T609, fixed signal/slot connection of cross context hookup

* audio can be local or remote special case
* so we have to hookup on core or remote side depending on that
This commit is contained in:
Klaus Basan
2019-08-21 23:21:06 +02:00
committed by Mat Sutcliffe
parent 105db27fa8
commit d9948af103
2 changed files with 16 additions and 8 deletions

View File

@@ -57,7 +57,7 @@ namespace BlackCore
CCoreFacade(const CCoreFacadeConfig &config, QObject *parent = nullptr);
//! Destructor
virtual ~CCoreFacade() { this->gracefulShutdown(); }
virtual ~CCoreFacade() override { this->gracefulShutdown(); }
//! DBus server (if applicable)
const BlackMisc::CDBusServer *getDBusServer() const { return this->m_dbusServer; }
@@ -123,6 +123,9 @@ namespace BlackCore
//! \remarks only applicable for local object
Context::CContextAudio *getCContextAudio();
//! Local audio context, means audio really runs here
bool hasLocalAudio() const;
//! Context for audio
//! \remarks only applicable for local object
const Context::CContextAudio *getCContextAudio() const;