summaryrefslogtreecommitdiff
path: root/client/debug.cc
diff options
context:
space:
mode:
authordeva <deva>2010-08-17 14:29:05 +0000
committerdeva <deva>2010-08-17 14:29:05 +0000
commitd2295ad23ed22af07addc93b71e36f7bb688d534 (patch)
tree4915612e87646091275e291bae291951744585fc /client/debug.cc
parentb23c3c321b80449aa22e14d40115d1e4a764a1b3 (diff)
New format parser for metawidget et al. DBWidget is broken for the moment...
Diffstat (limited to 'client/debug.cc')
-rw-r--r--client/debug.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/debug.cc b/client/debug.cc
index 282cf93..6eed1ad 100644
--- a/client/debug.cc
+++ b/client/debug.cc
@@ -129,6 +129,11 @@ void dbg_hide()
if(debugwindow) debugwindow->hide();
}
+bool dbg_enabled()
+{
+ return debugwindow != NULL;
+}
+
void dbg_log(const char *func, const char *file, const int line,
debug_class cl, const char *ch, const char *fmt, ...)
{