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} 108 void removeAllDebugChannels();
124 bool enableDebugChannel(uint32
channel);
140 bool disableDebugChannel(uint32
channel);
150 DebugChannelList getDebugChannels();
155 void enableAllDebugChannels();
160 void disableAllDebugChannels();
165 bool isDebugChannelEnabled(uint32
channel,
bool enforce =
false);
171 DebugChannelMap _debugChannels;
172 EnabledChannelsMap _debugChannelsEnabled;
173 uint32 _globalChannelsMask;
186 #define DebugMan Common::DebugManager::instance()
uint32 channel
Definition: debug-channels.h:37
String description
Definition: debug-channels.h:69
String name
Definition: debug-channels.h:68
Definition: debug-channels.h:36
const char * name
Definition: debug-channels.h:38
Definition: algorithm.h:29
const char * description
Definition: debug-channels.h:39
Definition: debug-channels.h:60
uint32 channel
Definition: debug-channels.h:71
Definition: singleton.h:42
Definition: debug-channels.h:63