JANITORIAL: Reduce GUI header dependencies

This commit is contained in:
Ori Avtalion
2016-04-14 13:30:14 +03:00
parent 866650fccd
commit 253e18c440
36 changed files with 19 additions and 61 deletions
-1
View File
@@ -25,7 +25,6 @@
#include "common/textconsole.h"
#include "common/translation.h"
#include "gui/about.h"
#include "gui/message.h"
#include "agos/agos.h"
-1
View File
@@ -25,7 +25,6 @@
#include "common/file.h"
#include "common/textconsole.h"
#include "gui/about.h"
#include "gui/message.h"
#include "agos/agos.h"
+5 -2
View File
@@ -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 {
+5 -1
View File
@@ -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 {
-1
View File
@@ -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"
-2
View File
@@ -26,8 +26,6 @@
*/
#include "gui/saveload.h"
#include "gui/about.h"
#include "gui/message.h"
#include "common/config-manager.h"
#include "common/events.h"
#include "common/translation.h"
-2
View File
@@ -26,8 +26,6 @@
*/
#include "gui/saveload.h"
#include "gui/about.h"
#include "gui/message.h"
#include "common/config-manager.h"
#include "common/events.h"
#include "common/translation.h"
-1
View File
@@ -48,7 +48,6 @@
#include "common/util.h"
#include "engines/engine.h"
#include "graphics/surface.h"
#include "gui/debugger.h"
/**
* This is the namespace of the Hopkins engine.
-2
View File
@@ -31,8 +31,6 @@
#include "common/system.h"
#include "common/config-manager.h"
#include "gui/message.h"
namespace Kyra {
Debugger::Debugger(KyraEngine_v1 *vm)
-2
View File
@@ -33,8 +33,6 @@
#include "common/config-manager.h"
#include "common/debug-channels.h"
#include "gui/message.h"
namespace Kyra {
KyraEngine_LoK::KyraEngine_LoK(OSystem *system, const GameFlags &flags)
+4 -2
View File
@@ -29,11 +29,13 @@
#include "common/str.h"
#include "gui/dialog.h"
#include "gui/options.h"
#include "gui/widget.h"
#include "gui/widgets/list.h"
namespace GUI {
class SaveLoadChooser;
class ButtonWidget;
class CheckboxWidget;
class CommandSender;
class StaticTextWidget;
}
namespace Mohawk {
-1
View File
@@ -31,7 +31,6 @@
#include "common/system.h"
#include "common/memstream.h"
#include "common/textconsole.h"
#include "gui/message.h"
namespace Mohawk {
-1
View File
@@ -28,7 +28,6 @@
#include "mohawk/myst_stacks/credits.h"
#include "common/system.h"
#include "gui/message.h"
namespace Mohawk {
namespace MystStacks {
-2
View File
@@ -28,8 +28,6 @@
#include "mohawk/video.h"
#include "mohawk/myst_stacks/intro.h"
#include "gui/message.h"
namespace Mohawk {
namespace MystStacks {
-2
View File
@@ -27,8 +27,6 @@
#include "mohawk/video.h"
#include "mohawk/myst_stacks/makingof.h"
#include "gui/message.h"
namespace Mohawk {
namespace MystStacks {
-2
View File
@@ -33,8 +33,6 @@
#include "common/system.h"
#include "common/textconsole.h"
#include "gui/message.h"
namespace Mohawk {
namespace MystStacks {
-1
View File
@@ -31,7 +31,6 @@
#include "common/system.h"
#include "common/textconsole.h"
#include "gui/message.h"
namespace Mohawk {
namespace MystStacks {
-1
View File
@@ -29,7 +29,6 @@
#include "mohawk/myst_stacks/slides.h"
#include "common/system.h"
#include "gui/message.h"
namespace Mohawk {
namespace MystStacks {
+1
View File
@@ -25,6 +25,7 @@
#include "common/keyboard.h"
#include "common/translation.h"
#include "common/system.h"
#include "gui/saveload.h"
#include "mohawk/cursors.h"
#include "mohawk/installer_archive.h"
-2
View File
@@ -27,8 +27,6 @@
#include "mohawk/mohawk.h"
#include "mohawk/riven_scripts.h"
#include "gui/saveload.h"
#include "common/hashmap.h"
#include "common/hash-str.h"
#include "common/random.h"
-3
View File
@@ -25,10 +25,7 @@
#include "common/textconsole.h"
#include "common/translation.h"
#include "gui/dialog.h"
#include "gui/saveload.h"
#include "gui/widget.h"
#include "gui/widgets/list.h"
#include "gui/message.h"
#include "parallaction/parallaction.h"
-2
View File
@@ -26,8 +26,6 @@
#include "graphics/cursorman.h"
#include "graphics/surface.h"
#include "gui/message.h"
#include "sci/sci.h"
#include "sci/event.h"
#include "sci/resource.h"
+1 -3
View File
@@ -33,10 +33,8 @@
#include "scummhelp.h"
#endif
#include "gui/about.h"
#include "gui/gui-manager.h"
#include "gui/widgets/list.h"
#include "gui/widget.h"
#include "gui/ThemeEval.h"
#include "scumm/dialogs.h"
+2 -4
View File
@@ -24,15 +24,13 @@
#define SCUMM_DIALOGS_H
#include "common/str.h"
#include "common/keyboard.h"
#include "gui/dialog.h"
#include "gui/widget.h"
#include "engines/dialogs.h"
#include "scumm/detection.h"
namespace GUI {
class ListWidget;
class CommandSender;
class StaticTextWidget;
}
-3
View File
@@ -25,9 +25,6 @@
#include "common/system.h"
#include "common/translation.h"
#include "gui/message.h"
#include "gui/gui-manager.h"
#include "scumm/debugger.h"
#include "scumm/dialogs.h"
#include "scumm/insane/insane.h"
-1
View File
@@ -22,7 +22,6 @@
#include "common/macresman.h"
#include "engines/engine.h"
#include "gui/message.h"
#include "scumm/players/player_mac.h"
#include "scumm/resource.h"
#include "scumm/scumm.h"
-1
View File
@@ -30,7 +30,6 @@
#include "engines/util.h"
#include "gui/message.h"
#include "gui/gui-manager.h"
#include "graphics/cursorman.h"
-1
View File
@@ -39,7 +39,6 @@
#include "engines/util.h"
#include "gui/message.h"
#include "gui/gui-manager.h"
namespace Sword1 {
-1
View File
@@ -23,7 +23,6 @@
#ifndef TESTBED_SOUND_H
#define TESTBED_SOUND_H
#include "gui/dialog.h"
#include "audio/mixer.h"
#include "testbed/config.h"
#include "testbed/testsuite.h"
-1
View File
@@ -35,7 +35,6 @@
#include "graphics/surface.h"
#include "graphics/thumbnail.h"
#include "gui/saveload.h"
#include "gui/about.h"
#include "gui/message.h"
#include "toon/resource.h"
#include "toon/toon.h"
@@ -20,9 +20,6 @@
*
*/
#include "gui/dialog.h"
#include "gui/widget.h"
#include "tsage/tsage.h"
#include "tsage/core.h"
#include "tsage/dialogs.h"
@@ -20,9 +20,6 @@
*
*/
#include "gui/dialog.h"
#include "gui/widget.h"
#include "tsage/tsage.h"
#include "tsage/core.h"
#include "tsage/dialogs.h"
@@ -22,9 +22,6 @@
#include "common/translation.h"
#include "gui/dialog.h"
#include "gui/widget.h"
#include "tsage/tsage.h"
#include "tsage/core.h"
#include "tsage/dialogs.h"
-1
View File
@@ -33,7 +33,6 @@
#include "gui/editrecorddialog.h"
#include "gui/EventRecorder.h"
#include "gui/message.h"
#include "gui/saveload.h"
#include "common/system.h"
#include "gui/ThemeEval.h"
#include "gui/gui-manager.h"
-1
View File
@@ -25,7 +25,6 @@
#include "gui/saveload.h"
#include "gui/saveload-dialog.h"
#include "gui/gui-manager.h"
#include "engines/metaengine.h"
+1 -1
View File
@@ -23,7 +23,7 @@
#ifndef GUI_SAVELOAD_H
#define GUI_SAVELOAD_H
#include "gui/dialog.h"
#include "common/str.h"
#include "engines/metaengine.h"
namespace GUI {