COMMON: Remove dependency on engines code (by using the inversion principle).

svn-id: r46130
This commit is contained in:
Max Horn 2009-11-24 22:11:07 +00:00
parent 5e0f79a2ed
commit 1a313a7eca
8 changed files with 289 additions and 142 deletions

View file

@ -26,6 +26,7 @@
#define COMMON_DEBUG_H
#include "common/scummsys.h"
#include "common/console.h"
#include "common/list.h"
#include "common/str.h"
@ -96,6 +97,12 @@ bool isDebugChannelEnabled(uint32 level);
bool isDebugChannelEnabled(const String &name);
/**
* Set the output formatter used by debug() and related functions.
*/
void setDebugOutputFormatter(OutputFormatter f);
} // End of namespace Common