refs #485, renamed (CContextRuntime) to CCoreFacade

https://dev.vatsim-germany.org/issues/485#note-6
This commit is contained in:
Klaus Basan
2016-02-11 22:14:20 +01:00
committed by Mathew Sutcliffe
parent 79cbcbc88f
commit d9aac6427b
52 changed files with 263 additions and 245 deletions

View File

@@ -11,7 +11,7 @@
#include "guimodeenums.h"
#include "blackgui/stylesheetutility.h"
#include "blackcore/registermetadata.h"
#include "blackcore/contextruntimeconfig.h"
#include "blackcore/corefacadeconfig.h"
#include "blackgui/guiutility.h"
#include "blackmisc/blackmiscfreefunctions.h"
#include "blackmisc/logmessage.h"
@@ -132,17 +132,17 @@ int main(int argc, char *argv[])
return 0;
}
BlackCore::CRuntimeConfig runtimeConfig;
BlackCore::CCoreFacadeConfig runtimeConfig;
switch (coreMode)
{
case GuiModes::CoreExternalCoreAudio:
runtimeConfig = CRuntimeConfig::remote(dBusAddress);
runtimeConfig = CCoreFacadeConfig::remote(dBusAddress);
break;
case GuiModes::CoreInGuiProcess:
runtimeConfig = CRuntimeConfig::local(dBusAddress);
runtimeConfig = CCoreFacadeConfig::local(dBusAddress);
break;
case GuiModes::CoreExternalAudioGui:
runtimeConfig = CRuntimeConfig::remoteLocalAudio(dBusAddress);
runtimeConfig = CCoreFacadeConfig::remoteLocalAudio(dBusAddress);
break;
}