From d2295ad23ed22af07addc93b71e36f7bb688d534 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 17 Aug 2010 14:29:05 +0000 Subject: New format parser for metawidget et al. DBWidget is broken for the moment... --- client/debug.cc | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'client/debug.cc') 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, ...) { -- cgit v1.2.3