mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45: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:
@@ -1532,6 +1532,12 @@ namespace BlackCore
|
||||
return m_coreFacade->getIContextAudio();
|
||||
}
|
||||
|
||||
const CContextAudioBase *CApplication::getCContextAudioBase() const
|
||||
{
|
||||
if (!supportsContexts()) { return nullptr; }
|
||||
return m_coreFacade->getCContextAudioBase();
|
||||
}
|
||||
|
||||
const IContextApplication *CApplication::getIContextApplication() const
|
||||
{
|
||||
if (!supportsContexts()) { return nullptr; }
|
||||
@@ -1562,6 +1568,12 @@ namespace BlackCore
|
||||
return m_coreFacade->getIContextAudio();
|
||||
}
|
||||
|
||||
CContextAudioBase *CApplication::getCContextAudioBase()
|
||||
{
|
||||
if (!supportsContexts()) { return nullptr; }
|
||||
return m_coreFacade->getCContextAudioBase();
|
||||
}
|
||||
|
||||
IContextApplication *CApplication::getIContextApplication()
|
||||
{
|
||||
if (!supportsContexts()) { return nullptr; }
|
||||
|
||||
Reference in New Issue
Block a user