summaryrefslogtreecommitdiffstats
path: root/lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtConsole.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtConsole.cpp')
-rw-r--r--lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtConsole.cpp28
1 files changed, 28 insertions, 0 deletions
diff --git a/lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtConsole.cpp b/lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtConsole.cpp
new file mode 100644
index 0000000..e10ef50
--- /dev/null
+++ b/lib/libUPnP/Neptune/Source/System/WinRT/NptWinRtConsole.cpp
@@ -0,0 +1,28 @@
+/*****************************************************************
+|
+| Neptune - Console Support: WinRT Implementation
+|
+| (c) 2002-2013 Gilles Boccon-Gibod
+| Author: Gilles Boccon-Gibod (bok@bok.net)
+|
+ ****************************************************************/
+
+/*----------------------------------------------------------------------
+| includes
++---------------------------------------------------------------------*/
+#include "NptWinRtPch.h"
+
+#include "NptConfig.h"
+#include "NptConsole.h"
+#include "NptWinRtUtils.h"
+
+/*----------------------------------------------------------------------
+| NPT_Console::Output
++---------------------------------------------------------------------*/
+void
+NPT_Console::Output(const char* message)
+{
+ NPT_WINRT_USE_CHAR_CONVERSION;
+ OutputDebugStringW(NPT_WINRT_A2W(message));
+}
+