forked from evtnlife/muemu-launcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmuteen.h
55 lines (47 loc) · 1.06 KB
/
muteen.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
55
#ifndef MUTEEN_H
#define MUTEEN_H
#include <QMainWindow>
#include <QUrl>
#include <QThread>
#include "testversion.h"
#include "patchupdate.h"
#include "startgame.h"
namespace Ui {
class MuTeeN;
}
class MuTeeN : public QMainWindow
{
Q_OBJECT
QThread *workerThread;
QThread *workerThread2;
QThread *workerThread3;
public:
explicit MuTeeN(QWidget *parent = 0);
~MuTeeN();
QString typeDown;
TestVersion * tVersion;
PatchUpdate * pUpdate;
StartGame * sGame;
int serverVersion = 0;
bool mainStarted = false;
public slots:
void progressDownload(qint64,qint64);
void zipProgress(qint64,qint64);
void showConfigForm();
void getVersion(bool isValid, int sVersion) {
isValidVersion = isValid;
serverVersion = sVersion;
emit workFinished();
}
void getMainStarted(bool value);
void startUpdate();
void startGame();
void mainIsOpen();
private:
Ui::MuTeeN *ui;
bool isValidVersion = false;
signals:
void workFinished();
void deletWhenFinished();
};
#endif // MUTEEN_H