mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00: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:
parent
9487892c18
commit
b4d91cc612
4 changed files with 20 additions and 6 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue