mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 03:35:35 +08:00
[AFV] Ref T739, remove implementation details from IContextAudio to keep the DBus interface "pure"
* This was an approach to avoid registration of "local signals" * that part DID NOT work as planned, as all object's signals are registered * the refactoring itself nevertheless is NOT a bad idea and has been kept * as the audio context has this special "concept" and CAfvClient can run on both sides (proxy AND impl.side)
This commit is contained in:
@@ -43,7 +43,7 @@ namespace BlackCore
|
||||
{
|
||||
//! Audio context proxy
|
||||
//! \ingroup dbus
|
||||
class BLACKCORE_EXPORT CContextAudioProxy : public IContextAudio
|
||||
class BLACKCORE_EXPORT CContextAudioProxy : public CContextAudioBase
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_CLASSINFO("D-Bus Interface", BLACKCORE_CONTEXTAUDIO_INTERFACENAME)
|
||||
@@ -58,7 +58,7 @@ namespace BlackCore
|
||||
static void unitTestRelaySignals();
|
||||
|
||||
public slots:
|
||||
//! All Dbus xsinterface overrides
|
||||
//! All DBus interface overrides
|
||||
//! \publicsection
|
||||
//! @{
|
||||
//! Register a device on a machine (for core/GUI it will return all known devices on all machines)
|
||||
@@ -76,7 +76,7 @@ namespace BlackCore
|
||||
|
||||
protected:
|
||||
//! Contructor
|
||||
CContextAudioProxy(CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime) : IContextAudio(mode, runtime), m_dBusInterface(nullptr) {}
|
||||
CContextAudioProxy(CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime) : CContextAudioBase(mode, runtime), m_dBusInterface(nullptr) {}
|
||||
|
||||
//! DBus version constructor
|
||||
CContextAudioProxy(const QString &serviceName, QDBusConnection &connection, CCoreFacadeConfig::ContextMode mode, CCoreFacade *runtime);
|
||||
|
||||
Reference in New Issue
Block a user