-
Notifications
You must be signed in to change notification settings - Fork 4
/
mainwindow.h
54 lines (43 loc) · 990 Bytes
/
mainwindow.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include <QThreadPool>
#include <QList>
#include <QtConcurrentMap>
#include <stdlib.h>
#include <QMessageBox>
#include "ProcessList.h"
#include "Memory.h"
#include "VMA.h"
#include "Result.h"
#include "Scanner.h"
namespace Ui {
class MainWindow;
}
class MainWindow : public QMainWindow {
Q_OBJECT
public:
MainWindow (QWidget* parent = 0);
~MainWindow ();
void setTarget (QMap<int, QString> target);
void enableScan ();
protected:
void changeEvent (QEvent* e);
private:
Ui::MainWindow* ui;
QMap<int, QString> targetProc;
std::vector<Result> *foundAddresses;
Scanner* scanner;
void error(QString);
signals:
void startNewScan (int, BYTE, int, int);
void stopScan ();
public slots:
void scanFinished (std::vector<Result>);
void scanFailed (std::string);
private slots:
void showProcessList ();
void firstScan ();
void nextScan ();
};
#endif // MAINWINDOW_H