summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/LCDFramework/src/debug.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirandaG15/LCDFramework/src/debug.cpp')
-rw-r--r--plugins/MirandaG15/LCDFramework/src/debug.cpp58
1 files changed, 0 insertions, 58 deletions
diff --git a/plugins/MirandaG15/LCDFramework/src/debug.cpp b/plugins/MirandaG15/LCDFramework/src/debug.cpp
deleted file mode 100644
index abca919bfe..0000000000
--- a/plugins/MirandaG15/LCDFramework/src/debug.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
-#include "stdafx.h"
-
-//file debug.cpp
-#ifdef _DEBUG
-
-#ifdef USECONSTREAM
- ConStream g_ConStream;
-
- void InitDebug()
- {
- g_ConStream.Open();
- }
-
- void UnInitDebug()
- {
- g_ConStream.Close();
- }
-#else
- void InitDebug()
- {
- }
-
- void UnInitDebug()
- {
- }
-#endif
-
-void _trace(TCHAR *fmt, ...)
-{
- TCHAR out[1024];
- va_list body;
- va_start(body, fmt);
-#ifdef _UNICODE
- vswprintf(out, fmt, body);
-#else
- vsprintf(out,fmt,body);
-#endif
-
- va_end(body);
-#ifdef USECONSTREAM
- g_ConStream << out;
-#else
- OutputDebugString(out);
-#endif
-
-}
-#else
-
-void InitDebug()
-{
-}
-
-void UnInitDebug()
-{
-}
-
-#endif
-