aboutsummaryrefslogtreecommitdiff
path: root/engines/bbvs
diff options
context:
space:
mode:
authorOri Avtalion2016-04-14 13:29:08 +0300
committerOri Avtalion2016-04-14 13:30:14 +0300
commit253e18c44080f57eb2334296e09297a2db5efda9 (patch)
tree0b37fe682181ca0946d93eaaaa580cb4cd4add29 /engines/bbvs
parent866650fccdd3bc94efbb7c13bc881bc960010370 (diff)
downloadscummvm-rg350-253e18c44080f57eb2334296e09297a2db5efda9.tar.gz
scummvm-rg350-253e18c44080f57eb2334296e09297a2db5efda9.tar.bz2
scummvm-rg350-253e18c44080f57eb2334296e09297a2db5efda9.zip
JANITORIAL: Reduce GUI header dependencies
Diffstat (limited to 'engines/bbvs')
-rw-r--r--engines/bbvs/dialogs.cpp7
-rw-r--r--engines/bbvs/dialogs.h6
-rw-r--r--engines/bbvs/minigames/bbairguitar.cpp1
3 files changed, 10 insertions, 4 deletions
diff --git a/engines/bbvs/dialogs.cpp b/engines/bbvs/dialogs.cpp
index c8470f8eef..1609794c73 100644
--- a/engines/bbvs/dialogs.cpp
+++ b/engines/bbvs/dialogs.cpp
@@ -22,10 +22,13 @@
#include "bbvs/dialogs.h"
#include "common/events.h"
-#include "gui/gui-manager.h"
-#include "gui/ThemeEval.h"
+#include "gui/widget.h"
#include "engines/advancedDetector.h"
+namespace GUI {
+class CommandSender;
+}
+
namespace Bbvs {
struct MenuButton {
diff --git a/engines/bbvs/dialogs.h b/engines/bbvs/dialogs.h
index 7db0b182b7..af1f70e9a7 100644
--- a/engines/bbvs/dialogs.h
+++ b/engines/bbvs/dialogs.h
@@ -25,7 +25,11 @@
#include "bbvs/bbvs.h"
#include "gui/dialog.h"
-#include "gui/widgets/edittext.h"
+
+namespace GUI {
+class ButtonWidget;
+class CommandSender;
+}
namespace Bbvs {
diff --git a/engines/bbvs/minigames/bbairguitar.cpp b/engines/bbvs/minigames/bbairguitar.cpp
index 04175f7290..f826667134 100644
--- a/engines/bbvs/minigames/bbairguitar.cpp
+++ b/engines/bbvs/minigames/bbairguitar.cpp
@@ -25,7 +25,6 @@
#include "common/savefile.h"
#include "common/translation.h"
-#include "gui/dialog.h"
#include "gui/message.h"
#include "gui/filebrowser-dialog.h"