2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

yuzu/configuration/config: Reorganize member variable and function layout

Makes the class layout consistent with the others.
This commit is contained in:
Lioncash 2018-10-23 21:46:33 -04:00
parent a94e5d9e68
commit 6f5bede402
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -12,12 +12,6 @@
class QSettings; class QSettings;
class Config { class Config {
QSettings* qt_config;
std::string qt_config_loc;
void ReadValues();
void SaveValues();
public: public:
Config(); Config();
~Config(); ~Config();
@ -27,4 +21,11 @@ public:
static const std::array<int, Settings::NativeButton::NumButtons> default_buttons; static const std::array<int, Settings::NativeButton::NumButtons> default_buttons;
static const std::array<std::array<int, 5>, Settings::NativeAnalog::NumAnalogs> default_analogs; static const std::array<std::array<int, 5>, Settings::NativeAnalog::NumAnalogs> default_analogs;
private:
void ReadValues();
void SaveValues();
QSettings* qt_config;
std::string qt_config_loc;
}; };