Main Page
Namespaces
Classes
Files
File List
File Members
src
LowLevel
MSW
GteLogToOutputWindow.cpp
Go to the documentation of this file.
1
// David Eberly, Geometric Tools, Redmond WA 98052
2
// Copyright (c) 1998-2017
3
// Distributed under the Boost Software License, Version 1.0.
4
// http://www.boost.org/LICENSE_1_0.txt
5
// http://www.geometrictools.com/License/Boost/LICENSE_1_0.txt
6
// File Version: 3.0.0 (2016/06/19)
7
8
#include <
GTEnginePCH.h
>
9
#include <
LowLevel/MSW/GteLogToOutputWindow.h
>
10
#include <windows.h>
11
using namespace
gte
;
12
13
LogToOutputWindow::LogToOutputWindow
(
int
flags
)
14
:
15
Logger
::Listener(flags)
16
{
17
}
18
19
void
LogToOutputWindow::Report
(
std::string
const
&
message
)
20
{
21
std::wstring text(message.begin(), message.end());
22
OutputDebugString(text.c_str());
23
}
GteLogToOutputWindow.h
GTEnginePCH.h
gte::LogToOutputWindow::LogToOutputWindow
LogToOutputWindow(int flags)
Definition:
GteLogToOutputWindow.cpp:13
string
GLsizei const GLchar *const * string
Definition:
glcorearb.h:809
gte
Definition:
GLX/GteWICFileIO.h:16
gte::LogToOutputWindow::Report
virtual void Report(std::string const &message)
Definition:
GteLogToOutputWindow.cpp:19
gte::Logger
Definition:
GteLogger.h:23
message
GLuint GLsizei const GLchar * message
Definition:
glcorearb.h:2538
flags
GLbitfield flags
Definition:
glcorearb.h:1591
geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:00