22#ifndef COMMON_DEBUG_CHANNELS_H
23#define COMMON_DEBUG_CHANNELS_H
25#include "common/scummsys.h"
27#include "common/hashmap.h"
28#include "common/hash-str.h"
29#include "common/list.h"
30#include "common/singleton.h"
31#include "common/str.h"
45#define DEBUG_CHANNEL_END {0, NULL, NULL}
173 uint32 _globalChannelsMask;
186#define DebugMan Common::DebugManager::instance()
Definition: debug-channels.h:60
void addAllDebugChannels(const DebugChannelDef *channels)
bool disableDebugChannel(const String &name)
bool addDebugChannel(uint32 channel, const String &name, const String &description)
bool enableDebugChannel(uint32 channel)
void removeAllDebugChannels()
void enableAllDebugChannels()
DebugChannelList getDebugChannels()
bool enableDebugChannel(const String &name)
bool disableDebugChannel(uint32 channel)
void disableAllDebugChannels()
bool isDebugChannelEnabled(uint32 channel, bool enforce=false)
Definition: singleton.h:42
Definition: algorithm.h:29
Definition: debug-channels.h:63
uint32 channel
Definition: debug-channels.h:71
String name
Definition: debug-channels.h:68
String description
Definition: debug-channels.h:69
Definition: debug-channels.h:36
uint32 channel
Definition: debug-channels.h:37
const char * name
Definition: debug-channels.h:38
const char * description
Definition: debug-channels.h:39