diff options
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework/debug.h')
-rw-r--r-- | plugins/MirandaG15/src/LCDFramework/debug.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/MirandaG15/src/LCDFramework/debug.h b/plugins/MirandaG15/src/LCDFramework/debug.h new file mode 100644 index 0000000000..39e34ebaae --- /dev/null +++ b/plugins/MirandaG15/src/LCDFramework/debug.h @@ -0,0 +1,21 @@ +#ifndef _DEBUG_H_
+#define _DEBUG_H_
+
+#define USECONSTREAM 1
+
+extern void InitDebug();
+extern void UnInitDebug();
+
+
+#ifdef _DEBUG
+#ifdef USECONSTREAM
+ #include "ConStream.h"
+#endif
+#define TRACE _trace
+extern void _trace(TCHAR *fmt, ...);
+#else
+inline void _trace(LPCTSTR fmt, ...) { }
+#define TRACE 1 ? (void)0 : _trace
+#endif
+
+#endif
\ No newline at end of file |