refactor: Move ServerConfig to the config folder
This commit is contained in:
parent
f16c13fa54
commit
c4b2f91424
8 changed files with 7 additions and 8 deletions
|
|
@ -38,8 +38,6 @@ add_library(${target} STATIC
|
||||||
Messages.h
|
Messages.h
|
||||||
ScreenSetupModel.cpp
|
ScreenSetupModel.cpp
|
||||||
ScreenSetupModel.h
|
ScreenSetupModel.h
|
||||||
ServerConfig.cpp
|
|
||||||
ServerConfig.h
|
|
||||||
Styles.h
|
Styles.h
|
||||||
StyleUtils.h
|
StyleUtils.h
|
||||||
VersionChecker.cpp
|
VersionChecker.cpp
|
||||||
|
|
@ -51,6 +49,8 @@ add_library(${target} STATIC
|
||||||
config/ScreenConfig.h
|
config/ScreenConfig.h
|
||||||
config/ScreenList.cpp
|
config/ScreenList.cpp
|
||||||
config/ScreenList.h
|
config/ScreenList.h
|
||||||
|
config/ServerConfig.cpp
|
||||||
|
config/ServerConfig.h
|
||||||
core/ClientConnection.cpp
|
core/ClientConnection.cpp
|
||||||
core/ClientConnection.h
|
core/ClientConnection.h
|
||||||
core/CommandProcess.cpp
|
core/CommandProcess.cpp
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@
|
||||||
#include <QSystemTrayIcon>
|
#include <QSystemTrayIcon>
|
||||||
#include <QThread>
|
#include <QThread>
|
||||||
|
|
||||||
#include "ServerConfig.h"
|
|
||||||
#include "VersionChecker.h"
|
#include "VersionChecker.h"
|
||||||
|
#include "config/ServerConfig.h"
|
||||||
#include "gui/core/ClientConnection.h"
|
#include "gui/core/ClientConnection.h"
|
||||||
#include "gui/core/CoreProcess.h"
|
#include "gui/core/CoreProcess.h"
|
||||||
#include "gui/core/ServerConnection.h"
|
#include "gui/core/ServerConnection.h"
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@
|
||||||
|
|
||||||
namespace deskflow::gui {
|
namespace deskflow::gui {
|
||||||
|
|
||||||
|
// TODO: Remove this class, when the ServerConnectionTests are ported to QTests
|
||||||
class IServerConfig
|
class IServerConfig
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "Hotkey.h"
|
|
||||||
#include "base/NetworkProtocol.h"
|
#include "base/NetworkProtocol.h"
|
||||||
|
#include "gui/Hotkey.h"
|
||||||
#include "gui/config/IServerConfig.h"
|
#include "gui/config/IServerConfig.h"
|
||||||
#include "gui/config/ScreenConfig.h"
|
#include "gui/config/ScreenConfig.h"
|
||||||
#include "gui/config/ScreenList.h"
|
#include "gui/config/ScreenList.h"
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
#include "Action.h"
|
#include "Action.h"
|
||||||
#include "Hotkey.h"
|
#include "Hotkey.h"
|
||||||
#include "KeySequence.h"
|
#include "KeySequence.h"
|
||||||
#include "ServerConfig.h"
|
#include "config/ServerConfig.h"
|
||||||
|
|
||||||
#include <QTimer>
|
#include <QTimer>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,6 @@
|
||||||
#include "dialogs/HotkeyDialog.h"
|
#include "dialogs/HotkeyDialog.h"
|
||||||
#include "dialogs/ScreenSettingsDialog.h"
|
#include "dialogs/ScreenSettingsDialog.h"
|
||||||
|
|
||||||
#include "ServerConfig.h"
|
|
||||||
|
|
||||||
#include <QFileDialog>
|
#include <QFileDialog>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "ScreenSetupModel.h"
|
#include "ScreenSetupModel.h"
|
||||||
#include "ServerConfig.h"
|
#include "config/ServerConfig.h"
|
||||||
|
|
||||||
#include <QDialog>
|
#include <QDialog>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue