mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-25 10:15:43 +08:00
refs #485, renamed (CContextRuntime) to CCoreFacade
https://dev.vatsim-germany.org/issues/485#note-6
This commit is contained in:
committed by
Mathew Sutcliffe
parent
79cbcbc88f
commit
d9aac6427b
@@ -14,7 +14,7 @@
|
||||
|
||||
#include "blackcore/blackcoreexport.h"
|
||||
#include "blackcore/contextaudio.h"
|
||||
#include "blackcore/contextruntime.h"
|
||||
#include "blackcore/corefacade.h"
|
||||
#include "blackcore/voice.h"
|
||||
#include "blackcore/voicechannel.h"
|
||||
#include "blackcore/audiodevice.h"
|
||||
@@ -40,7 +40,7 @@ namespace BlackCore
|
||||
Q_CLASSINFO("D-Bus Interface", BLACKCORE_CONTEXTAUDIO_INTERFACENAME)
|
||||
Q_OBJECT
|
||||
|
||||
friend class CRuntime;
|
||||
friend class CCoreFacade;
|
||||
friend class IContextAudio;
|
||||
|
||||
public:
|
||||
@@ -119,12 +119,12 @@ namespace BlackCore
|
||||
|
||||
protected:
|
||||
//! Constructor
|
||||
CContextAudio(CRuntimeConfig::ContextMode mode, CRuntime *runtime);
|
||||
CContextAudio(CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime);
|
||||
|
||||
//! Register myself in DBus
|
||||
CContextAudio *registerWithDBus(BlackMisc::CDBusServer *server)
|
||||
{
|
||||
if (!server || this->m_mode != CRuntimeConfig::LocalInDbusServer) { return this; }
|
||||
if (!server || this->m_mode != CCoreFacadeConfig::LocalInDbusServer) { return this; }
|
||||
server->addObject(IContextAudio::ObjectPath(), this);
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user