mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-15 01:05:35 +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
@@ -8,7 +8,7 @@
|
||||
*/
|
||||
|
||||
#include "swiftcore.h"
|
||||
#include "blackcore/contextruntime.h"
|
||||
#include "blackcore/corefacade.h"
|
||||
#include "blackcore/contextapplication.h"
|
||||
#include "blackcore/contextapplicationimpl.h"
|
||||
#include "blackmisc/dbusserver.h"
|
||||
|
||||
@@ -143,11 +143,11 @@ void CSwiftCore::startCore(const SetupInfo &setup)
|
||||
|
||||
// context
|
||||
this->createRuntime(setup.m_coreAudio ?
|
||||
CRuntimeConfig::forCoreAllLocalInDBus(setup.m_dbusAddress) :
|
||||
CRuntimeConfig::forCoreAllLocalInDBusNoAudio(setup.m_dbusAddress),
|
||||
CCoreFacadeConfig::forCoreAllLocalInDBus(setup.m_dbusAddress) :
|
||||
CCoreFacadeConfig::forCoreAllLocalInDBusNoAudio(setup.m_dbusAddress),
|
||||
this);
|
||||
CEnableForRuntime::setRuntimeForComponents(this->getRuntime(), this);
|
||||
connect(ui->le_CommandLineInput, &CCommandInput::commandEntered, getRuntime(), &CRuntime::parseCommandLine);
|
||||
connect(ui->le_CommandLineInput, &CCommandInput::commandEntered, getRuntime(), &CCoreFacade::parseCommandLine);
|
||||
}
|
||||
|
||||
void CSwiftCore::stopCore()
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#ifndef SWIFTCORE_H
|
||||
#define SWIFTCORE_H
|
||||
|
||||
#include "blackcore/contextruntime.h"
|
||||
#include "blackcore/corefacade.h"
|
||||
#include "blackgui/systemtraywindow.h"
|
||||
#include "blackgui/components/enableforruntime.h"
|
||||
#include "blackmisc/statusmessage.h"
|
||||
|
||||
Reference in New Issue
Block a user