JANITORIAL: Reduce header dependencies in shared code

Some backends may break as I only compiled SDL
This commit is contained in:
Ori Avtalion 2011-04-24 11:34:27 +03:00
parent 845db59e08
commit 9414d7a6e2
760 changed files with 1349 additions and 548 deletions

View file

@ -30,6 +30,7 @@
#include "common/config-manager.h"
#include "common/system.h"
#include "common/textconsole.h"
#include "common/fs.h"
#include "gui/ThemeEngine.h"

View file

@ -23,11 +23,15 @@
*
*/
#ifndef BASE_OPTIONS_H
#define BASE_OPTIONS_H
#ifndef COMMON_COMMAND_LINE_H
#define COMMON_COMMAND_LINE_H
#include "common/str.h"
#include "common/config-manager.h"
#include "common/hash-str.h"
namespace Common {
class Error;
class String;
}
namespace Base {

View file

@ -43,14 +43,13 @@
#include "common/debug-channels.h" /* for debug manager */
#include "common/events.h"
#include "common/EventRecorder.h"
#include "common/file.h"
#include "common/fs.h"
#include "common/system.h"
#include "common/textconsole.h"
#include "common/tokenizer.h"
#include "common/translation.h"
#include "gui/gui-manager.h"
#include "gui/message.h"
#include "gui/error.h"
#include "audio/mididrv.h"

View file

@ -27,16 +27,10 @@
#define BASE_PLUGINS_H
#include "common/array.h"
#include "common/error.h"
#include "common/singleton.h"
#include "common/util.h"
#include "common/fs.h"
#include "common/str.h"
#include "backends/plugins/elf/version.h"
namespace Common {
class FSList;
class FSNode;
}
/**
* @page pagePlugins An overview of the ScummVM plugin system