summaryrefslogtreecommitdiff
path: root/protocols/SkypeClassic/debug.h
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-10-29 08:13:04 +0000
committerRobert Pösel <robyer@seznam.cz>2013-10-29 08:13:04 +0000
commit7091c867afd1f44281c8cb8e83d5fafb208a18d9 (patch)
treea6b610c045d69e9bd4bc9f41e29c3a57772b1ce4 /protocols/SkypeClassic/debug.h
parente729878cc8be1ab69820d1243bf50e8f6ce417d0 (diff)
Adopted Skype plugin from IM, which is now known as SkypeClassic
One of first compilable versions, may contain various bugs. git-svn-id: http://svn.miranda-ng.org/main/trunk@6664 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeClassic/debug.h')
-rw-r--r--protocols/SkypeClassic/debug.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/protocols/SkypeClassic/debug.h b/protocols/SkypeClassic/debug.h
new file mode 100644
index 0000000000..9582246251
--- /dev/null
+++ b/protocols/SkypeClassic/debug.h
@@ -0,0 +1,23 @@
+//#define DEBUG_RELEASE 1
+
+#ifdef DEBUG_RELEASE
+ #define _DEBUG 1
+#endif
+
+#ifdef _DEBUG
+ void init_debug(void);
+ void end_debug (void);
+ void do_log(const char *pszFormat, ...);
+ #define DEBUG_OUT(a) OUTPUT(a)
+ #define TRACE(a) OutputDebugString(a)
+ #define TRACEA(a) OutputDebugStringA(a)
+ #define TRACEW(a) OutputDebugStringW(a)
+ #define LOG(a) do_log a
+#else
+ #define DEBUG_OUT(a)
+ #define LOG(a)
+ #define TRACE(a)
+ #define TRACEA(a)
+ #define TRACEW(a)
+#endif
+