diff options
Diffstat (limited to 'src/debug.h')
-rw-r--r-- | src/debug.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/debug.h b/src/debug.h index b2b389f..615a6be 100644 --- a/src/debug.h +++ b/src/debug.h @@ -21,14 +21,16 @@ class Debug { public: - enum DebugMask { Quiet = 0x00000000, - FindMembers = 0x00000001, - Functions = 0x00000002, - Variables = 0x00000004 + enum DebugMask { Quiet = 0x00000000, + FindMembers = 0x00000001, + Functions = 0x00000002, + Variables = 0x00000004, + Preprocessor = 0x00000008 }; static void print(DebugMask mask,int prio,const char *fmt,...); static void setFlag(const char *label); static void clearFlag(const char *label); + static bool isFlagSet(DebugMask mask); static void setPriority(int p); private: |