summaryrefslogtreecommitdiffstats
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.h23
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 @@
+// 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();
+public:
+ Config();
+ ~Config();
+
+ void Reload();
+ void Save();
+};