mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
refactor: Rename blackgui to swift::gui
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
#include "fsxsettingscomponent.h"
|
||||
#include "ui_fsxsettingscomponent.h"
|
||||
#include "simulatorfsxcommon.h"
|
||||
#include "blackgui/overlaymessagesframe.h"
|
||||
#include "blackgui/guiapplication.h"
|
||||
#include "gui/overlaymessagesframe.h"
|
||||
#include "gui/guiapplication.h"
|
||||
#include "core/context/contextsimulator.h"
|
||||
#include "config/buildconfig.h"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
|
||||
using namespace swift::core;
|
||||
using namespace swift::core::context;
|
||||
using namespace BlackGui;
|
||||
using namespace swift::gui;
|
||||
using namespace swift::misc;
|
||||
using namespace swift::misc::simulation;
|
||||
using namespace swift::config;
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Ui
|
||||
{
|
||||
class CFsxSettingsComponent;
|
||||
}
|
||||
namespace BlackGui
|
||||
namespace swift::gui
|
||||
{
|
||||
class COverlayMessagesFrame;
|
||||
}
|
||||
@@ -68,7 +68,7 @@ namespace BlackSimPlugin::FsxCommon
|
||||
CSimulatorFsxCommon *getFsxOrP3DSimulator() const;
|
||||
|
||||
swift::misc::simulation::CSimulatorInfo m_simulator { "FSX" };
|
||||
BlackGui::COverlayMessagesFrame *m_mf = nullptr;
|
||||
swift::gui::COverlayMessagesFrame *m_mf = nullptr;
|
||||
QScopedPointer<Ui::CFsxSettingsComponent> ui;
|
||||
};
|
||||
} // ns
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "simconnectsettingscomponent.h"
|
||||
#include "ui_simconnectsettingscomponent.h"
|
||||
#include "blackgui/guiapplication.h"
|
||||
#include "gui/guiapplication.h"
|
||||
#include "core/context/contextapplication.h"
|
||||
#include "core/context/contextsimulator.h"
|
||||
#include "misc/simulation/fsx/simconnectutilities.h"
|
||||
@@ -22,7 +22,7 @@ using namespace swift::misc;
|
||||
using namespace swift::misc::simulation;
|
||||
using namespace swift::misc::simulation::Fsx;
|
||||
using namespace swift::misc::network;
|
||||
using namespace BlackGui;
|
||||
using namespace swift::gui;
|
||||
|
||||
namespace BlackSimPlugin::FsxCommon
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#define BLACKSIMPLUGIN_FSXCOMMON_SIMCONNECTSETTINGSCOMPONENT_H
|
||||
|
||||
#include "plugins/simulator/fsxcommon/fsxcommonexport.h"
|
||||
#include "blackgui/overlaymessagesframe.h"
|
||||
#include "gui/overlaymessagesframe.h"
|
||||
#include "misc/settingscache.h"
|
||||
#include "misc/simulation/settings/simulatorsettings.h"
|
||||
#include "misc/simulation/simulatorinfo.h"
|
||||
@@ -23,7 +23,7 @@ namespace BlackSimPlugin::FsxCommon
|
||||
/*!
|
||||
* A component that gathers all SimConnect related settings.
|
||||
*/
|
||||
class FSXCOMMON_EXPORT CSimConnectSettingsComponent : public BlackGui::COverlayMessagesFrame
|
||||
class FSXCOMMON_EXPORT CSimConnectSettingsComponent : public swift::gui::COverlayMessagesFrame
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "simulatorfsxconfigwindow.h"
|
||||
#include "ui_simulatorfsxconfigwindow.h"
|
||||
|
||||
using namespace BlackGui;
|
||||
using namespace swift::gui;
|
||||
|
||||
namespace BlackSimPlugin::FsxCommon
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#define BLACKSIMPLUGIN_FSXCOMMON_SIMULATORFSXCONFIGWINDOW_H
|
||||
|
||||
#include "plugins/simulator/fsxcommon/fsxcommonexport.h"
|
||||
#include "blackgui/pluginconfigwindow.h"
|
||||
#include "gui/pluginconfigwindow.h"
|
||||
#include "misc/simulation/simulatorinfo.h"
|
||||
#include <QScopedPointer>
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace BlackSimPlugin::FsxCommon
|
||||
/*!
|
||||
* A window that lets user set up the FSX plugin.
|
||||
*/
|
||||
class FSXCOMMON_EXPORT CSimulatorFsxConfigWindow : public BlackGui::CPluginConfigWindow
|
||||
class FSXCOMMON_EXPORT CSimulatorFsxConfigWindow : public swift::gui::CPluginConfigWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user