Textractor/GUI/misc.h

18 lines
419 B
C
Raw Normal View History

2018-12-01 19:12:45 -05:00
#pragma once
2018-07-25 21:48:18 -07:00
2018-08-22 12:24:55 -04:00
#include "qtcommon.h"
2018-08-24 12:50:20 -04:00
#include "types.h"
2018-07-25 21:48:18 -07:00
class QAutoFile
{
public:
QAutoFile(QString name, QIODevice::OpenMode mode) : f(name) { f.open(mode); }
QFile* operator->() { return &f; }
private:
QFile f;
};
2018-09-09 22:37:48 -04:00
QMultiHash<QString, DWORD> GetAllProcesses();
2018-08-24 14:24:46 -04:00
std::optional<HookParam> ParseCode(QString HCode);
2018-08-04 18:01:59 -04:00
QString GenerateCode(HookParam hp, DWORD processId);
2018-12-13 07:54:25 -05:00
bool UpdateAvailable(std::string currentVersion);