diff options
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/debug.h b/src/debug.h index e71595f..bc93011 100644 --- a/src/debug.h +++ b/src/debug.h @@ -16,6 +16,8 @@ #ifndef _DEBUG_H #define _DEBUG_H +class QCString; + /** Class containing a print function for diagnostics. */ class Debug { @@ -37,12 +39,13 @@ class Debug Lex = 0x00002000, Plantuml = 0x00004000, FortranFixed2Free = 0x00008000, - Cite = 0x00010000 + Cite = 0x00010000, + NoLineNo = 0x00020000 }; static void print(DebugMask mask,int prio,const char *fmt,...); - static int setFlag(const char *label); - static void clearFlag(const char *label); + static int setFlag(const QCString &label); + static void clearFlag(const QCString &label); static bool isFlagSet(DebugMask mask); static void printFlags(); static void setPriority(int p); |