mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
DolphinQt/Settings: Replace includes with forward declarations
Avoids dragging in netplay-related headers where they aren't explicitly necessary.
This commit is contained in:
@ -11,9 +11,6 @@
|
||||
#include <QSettings>
|
||||
#include <QVector>
|
||||
|
||||
#include "Core/NetPlayClient.h"
|
||||
#include "Core/NetPlayServer.h"
|
||||
|
||||
namespace Core
|
||||
{
|
||||
enum class State;
|
||||
@ -24,6 +21,12 @@ namespace DiscIO
|
||||
enum class Language;
|
||||
}
|
||||
|
||||
namespace NetPlay
|
||||
{
|
||||
class NetPlayClient;
|
||||
class NetPlayServer;
|
||||
}
|
||||
|
||||
class GameListModel;
|
||||
class InputConfig;
|
||||
class QFont;
|
||||
@ -39,6 +42,8 @@ public:
|
||||
Settings(Settings&&) = delete;
|
||||
Settings& operator=(Settings&&) = delete;
|
||||
|
||||
~Settings();
|
||||
|
||||
static Settings& Instance();
|
||||
static QSettings& GetQSettings();
|
||||
|
||||
|
Reference in New Issue
Block a user