summaryrefslogtreecommitdiff
path: root/src/citra_qt/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/citra_qt/config.h')
-rw-r--r--src/citra_qt/config.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/citra_qt/config.h b/src/citra_qt/config.h
new file mode 100644
index 000000000..782c26287
--- /dev/null
+++ b/src/citra_qt/config.h
@@ -0,0 +1,27 @@
+// Copyright 2014 Citra Emulator Project
+// Licensed under GPLv2
+// Refer to the license.txt file included.
+
+#pragma once
+
+#include <QSettings>
+
+#include "common/common_types.h"
+
+class Config {
+ QSettings* qt_config;
+ std::string qt_config_loc;
+
+ void ReadControls();
+ void SaveControls();
+ void ReadCore();
+ void SaveCore();
+ void ReadData();
+ void SaveData();
+public:
+ Config();
+ ~Config();
+
+ void Reload();
+ void Save();
+};