forked from CobaltFusion/DebugViewPP
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLine.cpp
More file actions
34 lines (29 loc) · 926 Bytes
/
Copy pathLine.cpp
File metadata and controls
34 lines (29 loc) · 926 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// (C) Copyright Gert-Jan de Vos and Jan Wilmans 2013.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
#include "Win32/Win32Lib.h"
#include "DebugViewppLib/Line.h"
namespace fusion {
namespace debugviewpp {
Line::Line(double time, FILETIME systemTime, HANDLE handle, const std::string& message, const LogSource* pLogSource) :
time(time),
systemTime(systemTime),
handle(handle),
pid(0),
message(message),
pLogSource(pLogSource)
{
}
Line::Line(double time, FILETIME systemTime, DWORD pid, const std::string& processName, const std::string& message, const LogSource* pLogSource) :
time(time),
systemTime(systemTime),
handle(nullptr),
pid(pid),
processName(processName),
message(message),
pLogSource(pLogSource)
{
}
} // namespace debugviewpp
} // namespace fusion