mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-18 20:10:05 +00:00
yuzu/configuration/config: Reorganize member variable and function layout
Makes the class layout consistent with the others.
This commit is contained in:
parent
452ccf02a6
commit
f4bd5c3559
@ -12,16 +12,6 @@
|
||||
class QSettings;
|
||||
|
||||
class Config {
|
||||
QSettings* qt_config;
|
||||
std::string qt_config_loc;
|
||||
|
||||
void ReadValues();
|
||||
void SaveValues();
|
||||
QVariant ReadSetting(const QString& name);
|
||||
QVariant ReadSetting(const QString& name, const QVariant& default_value);
|
||||
void WriteSetting(const QString& name, const QVariant& value);
|
||||
void WriteSetting(const QString& name, const QVariant& value, const QVariant& default_value);
|
||||
|
||||
public:
|
||||
Config();
|
||||
~Config();
|
||||
@ -31,4 +21,15 @@ public:
|
||||
|
||||
static const std::array<int, Settings::NativeButton::NumButtons> default_buttons;
|
||||
static const std::array<std::array<int, 5>, Settings::NativeAnalog::NumAnalogs> default_analogs;
|
||||
|
||||
private:
|
||||
void ReadValues();
|
||||
void SaveValues();
|
||||
QVariant ReadSetting(const QString& name);
|
||||
QVariant ReadSetting(const QString& name, const QVariant& default_value);
|
||||
void WriteSetting(const QString& name, const QVariant& value);
|
||||
void WriteSetting(const QString& name, const QVariant& value, const QVariant& default_value);
|
||||
|
||||
QSettings* qt_config;
|
||||
std::string qt_config_loc;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user