Textractor/GUI/hostsignaller.cpp

11 lines
432 B
C++
Raw Normal View History

#include "hostsignaller.h"
2018-07-26 22:42:21 -07:00
#include "extensions.h"
void HostSignaller::Initialize()
{
2018-07-25 10:46:59 -07:00
Host::RegisterProcessAttachCallback([&](DWORD pid){ emit AddProcess(pid); });
Host::RegisterProcessDetachCallback([&](DWORD pid){ emit RemoveProcess(pid); });
2018-08-03 00:07:25 -04:00
Host::RegisterThreadCreateCallback([&](TextThread* thread) { emit AddThread(thread); });
2018-07-25 10:46:59 -07:00
Host::RegisterThreadRemoveCallback([&](TextThread* thread){ emit RemoveThread(thread); });
}