summaryrefslogtreecommitdiffstats
path: root/src/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.cpp')
-rw-r--r--src/debug.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/debug.cpp b/src/debug.cpp
index 1942355..a2b2707 100644
--- a/src/debug.cpp
+++ b/src/debug.cpp
@@ -21,6 +21,7 @@
#include <qdict.h>
#include "debug.h"
+#include "message.h"
//------------------------------------------------------------------------
@@ -120,3 +121,14 @@ bool Debug::isFlagSet(DebugMask mask)
return (curMask & mask)!=0;
}
+void Debug::printFlags(void)
+{
+ int i;
+ for (i = 0; i < sizeof(s_labels)/sizeof(*s_labels); i++)
+ {
+ if (s_labels[i].name)
+ {
+ msg("\t%s\n",s_labels[i].name);
+ }
+ }
+}