From 4d01f5f5096cb4d22c4a7ba17cc82977c7f5f19b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20P=C3=B6sel?= Date: Tue, 29 Oct 2013 18:17:04 +0000 Subject: Adopted MirandaG15 plugin First compilable version and 32-bit only. git-svn-id: http://svn.miranda-ng.org/main/trunk@6681 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MirandaG15/LCDFramework/src/debug.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 plugins/MirandaG15/LCDFramework/src/debug.h (limited to 'plugins/MirandaG15/LCDFramework/src/debug.h') diff --git a/plugins/MirandaG15/LCDFramework/src/debug.h b/plugins/MirandaG15/LCDFramework/src/debug.h new file mode 100644 index 0000000000..39e34ebaae --- /dev/null +++ b/plugins/MirandaG15/LCDFramework/src/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 -- cgit v1.2.3