Xinqi Bao's Git
projects
/
CheaterHub.git
/ blob
summary
|
log
|
commit
|
diff
|
tree
history
|
raw
|
HEAD
first commit, implemented game wordscapes
[CheaterHub.git]
/
client
/
CheaterHub
/
cfg.h
1
#ifndef CFG_H
2
#define CFG_H
3
4
#include <QString>
5
#include <QSettings>
6
7
class
Cfg
8
{
9
private
:
10
QString filename
;
11
QSettings setting
;
12
public
:
13
Cfg
(
QString filename
=
"config"
);
14
15
QString wordscapes_ip
;
16
int
wordscapes_port
;
17
18
void
save_config
();
19
};
20
21
#endif
// CFG_H