-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.h
49 lines (37 loc) · 791 Bytes
/
setup.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
#ifndef SETUP_H
#define SETUP_H
#include "ui_setup.h"
#include <QtNetwork/QNetworkAccessManager>
#include <QtWidgets/QDialog>
#include <string>
#include <vector>
namespace sgl {
class Setup : public QDialog
{
Q_OBJECT
public:
Setup(QWidget *parent = 0);
~Setup() = default;
QEventLoop eventLoop;
QNetworkAccessManager networkAccessManager;
private:
Ui::Setup ui;
};
class SetupPre
{
public:
SetupPre();
~SetupPre();
bool initialSetup();
std::wstring steamDir;
Setup* pSetup;
private:
bool findSteamDir();
std::vector<std::wstring> enumSteamIDs();
void getPlayerSummary(std::wstring steamID, Setup* pSetup);
void makeSteamSetupWidgets(QString string);
void makeSetupWidgets(const std::string &filename);
bool bSetupDelete;
};
} // namespace sgl
#endif // SETUP_H