DolphinQt/MainWindow: Replace includes with forward declarations

Reduces the amount of dependencies dragged in by the main window's
header. This also removes MainWindow.h includes elsewhere where they
aren't necessary, reducing the amount of UI files that need to be
recompiled if the main window's header changes.
This commit is contained in:
Lioncash
2018-07-14 23:20:59 -04:00
parent 6044165f9d
commit a9003aadc6
4 changed files with 17 additions and 10 deletions

View File

@ -11,6 +11,7 @@
#include "AudioCommon/AudioCommon.h"
#include "Common/Config/Config.h"
#include "Common/Thread.h"
#include "Core/Config/GraphicsSettings.h"
@ -21,7 +22,6 @@
#include "Core/IOS/USB/Bluetooth/BTBase.h"
#include "Core/State.h"
#include "DolphinQt/MainWindow.h"
#include "DolphinQt/Settings.h"
#include "InputCommon/ControllerInterface/ControllerInterface.h"