#pragma once #include "qtcommon.h" #include "types.h" class QAutoFile { public: QAutoFile(QString name, QIODevice::OpenMode mode) : f(name) { f.open(mode); } QFile* operator->() { return &f; } private: QFile f; }; QMultiHash GetAllProcesses(); std::optional ParseCode(QString HCode); QString GenerateCode(HookParam hp, DWORD processId);