aboutsummaryrefslogtreecommitdiff
path: root/common/debug-channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/debug-channels.h')
-rw-r--r--common/debug-channels.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/common/debug-channels.h b/common/debug-channels.h
index 0fb8006803..a2df35102f 100644
--- a/common/debug-channels.h
+++ b/common/debug-channels.h
@@ -80,7 +80,7 @@ public:
void clearAllDebugChannels();
/**
- * Enables an debug channel.
+ * Enables a debug channel.
*
* @param name the name of the debug channel to enable
* @return true on success, false on failure
@@ -88,13 +88,29 @@ public:
bool enableDebugChannel(const String &name);
/**
- * Disables an debug channel.
+ * Enables a debug channel.
+ *
+ * @param channel The debug channel
+ * @return true on success, false on failure
+ */
+ bool enableDebugChannel(uint32 channel);
+
+ /**
+ * Disables a debug channel.
*
* @param name the name of the debug channel to disable
* @return true on success, false on failure
*/
bool disableDebugChannel(const String &name);
+ /**
+ * Disables a debug channel.
+ *
+ * @param channel The debug channel
+ * @return true on success, false on failure
+ */
+ bool disableDebugChannel(uint32 channel);
+
typedef List<DebugChannel> DebugChannelList;
/**