Ref T739, changed core modes which no longer make sense like "audio in core"

This commit is contained in:
Klaus Basan
2019-10-05 00:13:00 +02:00
committed by Mat Sutcliffe
parent 2a7633dc31
commit f09e99333f
4 changed files with 11 additions and 35 deletions

View File

@@ -53,13 +53,6 @@ namespace BlackCore
return cfg;
}
CCoreFacadeConfig CCoreFacadeConfig::forCoreAllLocalInDBusNoAudio(const QString &dbusBootstrapAddress)
{
CCoreFacadeConfig cfg(CCoreFacadeConfig::LocalInDBusServer, dbusBootstrapAddress);
cfg.m_audio = CCoreFacadeConfig::NotUsed;
return cfg;
}
CCoreFacadeConfig CCoreFacadeConfig::local(const QString &dbusBootstrapAddress)
{
const CCoreFacadeConfig cfg = CCoreFacadeConfig(CCoreFacadeConfig(CCoreFacadeConfig::Local, dbusBootstrapAddress));
@@ -67,12 +60,6 @@ namespace BlackCore
}
CCoreFacadeConfig CCoreFacadeConfig::remote(const QString &dbusBootstrapAddress)
{
const CCoreFacadeConfig cfg = CCoreFacadeConfig(CCoreFacadeConfig(CCoreFacadeConfig::Remote, dbusBootstrapAddress));
return cfg;
}
CCoreFacadeConfig CCoreFacadeConfig::remoteLocalAudio(const QString &dbusBootstrapAddress)
{
CCoreFacadeConfig cfg = CCoreFacadeConfig(CCoreFacadeConfig(CCoreFacadeConfig::Remote, dbusBootstrapAddress));
cfg.m_audio = CCoreFacadeConfig::LocalInDBusServer;
@@ -81,7 +68,8 @@ namespace BlackCore
CCoreFacadeConfig CCoreFacadeConfig::allEmpty()
{
const CCoreFacadeConfig cfg = CCoreFacadeConfig();
CCoreFacadeConfig cfg = CCoreFacadeConfig();
cfg.m_audio = CCoreFacadeConfig::Local;
return cfg;
}
} // namespace