@@ -18,13 +18,15 @@ class ILineBuffer;
18
18
19
19
struct PollLine
20
20
{
21
- PollLine (DWORD pid, const std::string& processName, const std::string& message, const LogSource* pLogSource);
22
- PollLine (double time, FILETIME systemTime, DWORD pid, const std::string& processName, const std::string& message, const LogSource* pLogSource);
21
+ PollLine (Win32::Handle handle, const std::string& message, const LogSource* pLogSource);
22
+ PollLine (DWORD pid, const std::string& processName, const std::string& message, const LogSource* pLogSource);
23
+ PollLine (double time, FILETIME systemTime, DWORD pid, const std::string& processName, const std::string& message, const LogSource* pLogSource);
23
24
24
25
bool timesValid;
25
26
double time;
26
27
FILETIME systemTime;
27
- DWORD pid;
28
+ Win32::Handle handle;
29
+ DWORD pid;
28
30
std::string processName;
29
31
std::string message;
30
32
const LogSource* pLogSource;
@@ -43,8 +45,9 @@ class PolledLogSource : public LogSource
43
45
44
46
// in contrast to the LogSource::Add methdods, these methods are de-coupled using m_backBuffer so they
45
47
// can be used to add messages from any thread. The typical use-case are messages from the UI thread.
46
- void AddMessage (DWORD pid, const std::string& processName, const std::string& message);
47
- void AddMessage (const std::string& message);
48
+ void AddMessage (Win32::Handle handle, const std::string& message);
49
+ void AddMessage (DWORD pid, const std::string& processName, const std::string& message);
50
+ void AddMessage (const std::string& message);
48
51
void AddMessage (double time, FILETIME systemTime, DWORD pid, const std::string& processName, const std::string& message);
49
52
50
53
void Signal ();
0 commit comments