diff options
Diffstat (limited to 'src/citra_qt/config.h')
| -rw-r--r-- | src/citra_qt/config.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/citra_qt/config.h b/src/citra_qt/config.h new file mode 100644 index 000000000..ae390be6b --- /dev/null +++ b/src/citra_qt/config.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | // Copyright 2014 Citra Emulator Project | ||
| 2 | // Licensed under GPLv2 | ||
| 3 | // Refer to the license.txt file included. | ||
| 4 | |||
| 5 | #pragma once | ||
| 6 | |||
| 7 | #include <QSettings> | ||
| 8 | |||
| 9 | #include "common/common_types.h" | ||
| 10 | |||
| 11 | class Config { | ||
| 12 | QSettings* qt_config; | ||
| 13 | std::string qt_config_loc; | ||
| 14 | |||
| 15 | void ReadControls(); | ||
| 16 | void SaveControls(); | ||
| 17 | public: | ||
| 18 | Config(); | ||
| 19 | ~Config(); | ||
| 20 | |||
| 21 | void Reload(); | ||
| 22 | void Save(); | ||
| 23 | }; | ||