-
Notifications
You must be signed in to change notification settings - Fork 1
/
unikargsproc.h
62 lines (52 loc) · 1.25 KB
/
unikargsproc.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
56
57
58
59
60
61
62
#ifndef UNIKARGSPROC_H
#define UNIKARGSPROC_H
#include <QGuiApplication>
#include <QObject>
#include <QSettings>
#include <QFileInfo>
#include <QDir>
#include <QProcess>
#include <QStandardPaths>
#include <QDebug>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonValue>
#include <QJsonArray>
class UnikArgsProc : public QObject
{
Q_OBJECT
public:
explicit UnikArgsProc(QObject *parent = nullptr);
QStringList args;
QString dp;//Documents Path
QString ws;//Work Space
QString cd;//Current Dir
QString gm;//Git Module
QString dim="";
QString pos="";
bool errorWritePermission=false;
bool showLaunch=true;
bool modeFolder=false;
bool modeFolderToUpk=false;
bool modeRemoteFolder=false;
bool modeUpk=false;
bool modeGit=false;
bool modeGitArg=false;
bool updateUnikTools=false;
bool loadConfig=false;
bool readConfig=true;
bool debugLog=false;
bool setPass=false;
bool setPass1=false;
bool setPass2=false;
bool makeUpk=false;
signals:
public slots:
void init();
void procArgs();
void procCfgArgs();
void procUSSArgs();
private:
QSettings settings;
};
#endif // UNIKARGSPROC_H