GameProcessWatcher::~GameProcessWatcher() stopWatching(); closeProcessHandle();
GameProcessWatcher::GameProcessWatcher() : m_hProcess(nullptr) , m_processId(0) , m_isWatching(false) , m_checkInterval(1000) gameprocesswatcher.cpp
#include "gameprocesswatcher.h" #include <windows.h> #include <tlhelp32.h> #include <algorithm> #include <cstring> gameprocesswatcher.cpp