From 489b932c52d0d9eeff2d244150c047ded4eacc8f Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 20 Jul 2014 20:28:01 -0700 Subject: [PATCH] Header include cleanup --- src/platform/qt/GameController.h | 4 ++-- src/platform/qt/Window.cpp | 2 ++ src/platform/qt/Window.h | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/platform/qt/GameController.h b/src/platform/qt/GameController.h index 6608c509c..ae3260ef7 100644 --- a/src/platform/qt/GameController.h +++ b/src/platform/qt/GameController.h @@ -7,8 +7,6 @@ #include #include -#include "AudioDevice.h" - extern "C" { #include "gba-thread.h" #ifdef BUILD_SDL @@ -21,6 +19,8 @@ struct GBAVideoSoftwareRenderer; namespace QGBA { +class AudioDevice; + class GameController : public QObject { Q_OBJECT diff --git a/src/platform/qt/Window.cpp b/src/platform/qt/Window.cpp index 58b7e9a7b..45d2ca543 100644 --- a/src/platform/qt/Window.cpp +++ b/src/platform/qt/Window.cpp @@ -5,6 +5,8 @@ #include #include +#include "AudioDevice.h" +#include "GameController.h" #include "GDBWindow.h" #include "GDBController.h" diff --git a/src/platform/qt/Window.h b/src/platform/qt/Window.h index 958db7b20..429c16741 100644 --- a/src/platform/qt/Window.h +++ b/src/platform/qt/Window.h @@ -8,11 +8,12 @@ extern "C" { #include "gba.h" } -#include "GameController.h" #include "Display.h" namespace QGBA { +class AudioThread; +class GameController; class GDBController; class Window : public QMainWindow {