diff options
author | deva <deva> | 2010-08-17 14:29:05 +0000 |
---|---|---|
committer | deva <deva> | 2010-08-17 14:29:05 +0000 |
commit | d2295ad23ed22af07addc93b71e36f7bb688d534 (patch) | |
tree | 4915612e87646091275e291bae291951744585fc /client/debug.cc | |
parent | b23c3c321b80449aa22e14d40115d1e4a764a1b3 (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.cc | 5 |
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, ...) { |