mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 07:15:34 +08:00
refactor: Rename blackcore to swift::core
This commit is contained in:
@@ -6,14 +6,14 @@
|
||||
#include "simulatorfsxcommon.h"
|
||||
#include "blackgui/overlaymessagesframe.h"
|
||||
#include "blackgui/guiapplication.h"
|
||||
#include "blackcore/context/contextsimulator.h"
|
||||
#include "core/context/contextsimulator.h"
|
||||
#include "config/buildconfig.h"
|
||||
|
||||
#include <QPointer>
|
||||
#include <QTimer>
|
||||
|
||||
using namespace BlackCore;
|
||||
using namespace BlackCore::Context;
|
||||
using namespace swift::core;
|
||||
using namespace swift::core::context;
|
||||
using namespace BlackGui;
|
||||
using namespace swift::misc;
|
||||
using namespace swift::misc::simulation;
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#include "simconnectobject.h"
|
||||
#include "misc/stringutils.h"
|
||||
#include "simulatorfsxcommon.h"
|
||||
#include "blackcore/simulator.h"
|
||||
#include "blackcore/simulator.h"
|
||||
#include "core/simulator.h"
|
||||
#include "core/simulator.h"
|
||||
#include "misc/simulation/interpolation/interpolatormulti.h"
|
||||
#include "config/buildconfig.h"
|
||||
|
||||
@@ -13,7 +13,7 @@ using namespace swift::config;
|
||||
using namespace swift::misc;
|
||||
using namespace swift::misc::aviation;
|
||||
using namespace swift::misc::simulation;
|
||||
using namespace BlackCore;
|
||||
using namespace swift::core;
|
||||
|
||||
namespace BlackSimPlugin::FsxCommon
|
||||
{
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#include "simconnectsettingscomponent.h"
|
||||
#include "ui_simconnectsettingscomponent.h"
|
||||
#include "blackgui/guiapplication.h"
|
||||
#include "blackcore/context/contextapplication.h"
|
||||
#include "blackcore/context/contextsimulator.h"
|
||||
#include "core/context/contextapplication.h"
|
||||
#include "core/context/contextsimulator.h"
|
||||
#include "misc/simulation/fsx/simconnectutilities.h"
|
||||
#include "misc/network/networkutils.h"
|
||||
#include "misc/logmessage.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "simulatorfsxcommon.h"
|
||||
#include "simconnectsymbols.h"
|
||||
#include "../fscommon/simulatorfscommonfunctions.h"
|
||||
#include "blackcore/application.h"
|
||||
#include "core/application.h"
|
||||
#include "misc/network/textmessage.h"
|
||||
#include "misc/simulation/fsx/simconnectutilities.h"
|
||||
#include "misc/simulation/fscommon/aircraftcfgparser.h"
|
||||
@@ -41,7 +41,7 @@ using namespace swift::misc::simulation;
|
||||
using namespace swift::misc::simulation::fscommon;
|
||||
using namespace swift::misc::simulation::Fsx;
|
||||
using namespace swift::misc::simulation::settings;
|
||||
using namespace BlackCore;
|
||||
using namespace swift::core;
|
||||
using namespace BlackSimPlugin::FsCommon;
|
||||
|
||||
namespace BlackSimPlugin::FsxCommon
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "plugins/simulator/fsxcommon/simconnectobject.h"
|
||||
#include "plugins/simulator/fsxcommon/simconnectwindows.h"
|
||||
#include "plugins/simulator/fscommon/simulatorfscommon.h"
|
||||
#include "blackcore/simulator.h"
|
||||
#include "core/simulator.h"
|
||||
#include "misc/simulation/interpolation/interpolatorlinear.h"
|
||||
#include "misc/simulation/simulatorplugininfo.h"
|
||||
#include "misc/simulation/settings/simulatorsettings.h"
|
||||
@@ -118,12 +118,12 @@ namespace BlackSimPlugin::FsxCommon
|
||||
class FSXCOMMON_EXPORT CSimulatorFsxCommon : public FsCommon::CSimulatorFsCommon
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_INTERFACES(BlackCore::ISimulator)
|
||||
Q_INTERFACES(swift::core::ISimulator)
|
||||
Q_INTERFACES(swift::misc::simulation::ISimulationEnvironmentProvider)
|
||||
Q_INTERFACES(swift::misc::simulation::IInterpolationSetupProvider)
|
||||
|
||||
public:
|
||||
//! Constructor, parameters as in \sa BlackCore::ISimulatorFactory::create
|
||||
//! Constructor, parameters as in \sa swift::core::ISimulatorFactory::create
|
||||
CSimulatorFsxCommon(const swift::misc::simulation::CSimulatorPluginInfo &info,
|
||||
swift::misc::simulation::IOwnAircraftProvider *ownAircraftProvider,
|
||||
swift::misc::simulation::IRemoteAircraftProvider *remoteAircraftProvider,
|
||||
@@ -644,7 +644,7 @@ namespace BlackSimPlugin::FsxCommon
|
||||
};
|
||||
|
||||
//! Listener for FSX
|
||||
class FSXCOMMON_EXPORT CSimulatorFsxCommonListener : public BlackCore::ISimulatorListener
|
||||
class FSXCOMMON_EXPORT CSimulatorFsxCommonListener : public swift::core::ISimulatorListener
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
@@ -652,17 +652,17 @@ namespace BlackSimPlugin::FsxCommon
|
||||
//! Constructor
|
||||
CSimulatorFsxCommonListener(const swift::misc::simulation::CSimulatorPluginInfo &info);
|
||||
|
||||
//! \copydoc BlackCore::ISimulatorListener::backendInfo
|
||||
//! \copydoc swift::core::ISimulatorListener::backendInfo
|
||||
virtual QString backendInfo() const override;
|
||||
|
||||
protected:
|
||||
//! \copydoc BlackCore::ISimulatorListener::startImpl
|
||||
//! \copydoc swift::core::ISimulatorListener::startImpl
|
||||
virtual void startImpl() override;
|
||||
|
||||
//! \copydoc BlackCore::ISimulatorListener::stopImpl
|
||||
//! \copydoc swift::core::ISimulatorListener::stopImpl
|
||||
virtual void stopImpl() override;
|
||||
|
||||
//! \copydoc BlackCore::ISimulatorListener::checkImpl
|
||||
//! \copydoc swift::core::ISimulatorListener::checkImpl
|
||||
virtual void checkImpl() override;
|
||||
|
||||
private:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "simulatorfsxcommon.h"
|
||||
#include "simconnectdatadefinition.h"
|
||||
#include "blackcore/application.h"
|
||||
#include "core/application.h"
|
||||
#include "misc/simulation/fscommon/bcdconversions.h"
|
||||
#include "misc/simulation/fsx/simconnectutilities.h"
|
||||
#include "misc/simulation/simulatorplugininfo.h"
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
#include <cstring>
|
||||
|
||||
using namespace BlackCore;
|
||||
using namespace swift::core;
|
||||
using namespace swift::config;
|
||||
using namespace swift::misc;
|
||||
using namespace swift::misc::simulation;
|
||||
|
||||
Reference in New Issue
Block a user