diff options
| author | Lioncash <mai.iam2048@gmail.com> | 2023-04-13 09:38:09 -0400 |
|---|---|---|
| committer | Lioncash <mai.iam2048@gmail.com> | 2023-04-13 10:19:28 -0400 |
| commit | e4caace6bb6213851b979cdd76f9f44ef6d9cd09 (patch) | |
| tree | ae5d6cbcfa21c4084a301f96de4f560570c73a8b /Source/Core/InputCommon/ControllerEmu/ControlGroup | |
| parent | 5c03b8af88e80e9502dcb0b20e17d9debf2617b3 (diff) | |
Common/IniFile: Move interface into Common namespace
Gets this out of the global namespace and into the Common namespace
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup')
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp | 4 | ||||
| -rw-r--r-- | Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp index 0b69c7e6c2..2896acd070 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp +++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.cpp @@ -50,7 +50,7 @@ void ControlGroup::AddDeadzoneSetting(SettingValue<double>* value, double maximu ControlGroup::~ControlGroup() = default; -void ControlGroup::LoadConfig(IniFile::Section* sec, const std::string& defdev, +void ControlGroup::LoadConfig(Common::IniFile::Section* sec, const std::string& defdev, const std::string& base) { const std::string group(base + name + "/"); @@ -103,7 +103,7 @@ void ControlGroup::LoadConfig(IniFile::Section* sec, const std::string& defdev, } } -void ControlGroup::SaveConfig(IniFile::Section* sec, const std::string& defdev, +void ControlGroup::SaveConfig(Common::IniFile::Section* sec, const std::string& defdev, const std::string& base) { const std::string group(base + name + "/"); diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.h b/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.h index fb10bab074..f51fff6015 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.h +++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/ControlGroup.h @@ -68,9 +68,9 @@ public: DefaultValue default_value = DefaultValue::AlwaysEnabled); virtual ~ControlGroup(); - virtual void LoadConfig(IniFile::Section* sec, const std::string& defdev = "", + virtual void LoadConfig(Common::IniFile::Section* sec, const std::string& defdev = "", const std::string& base = ""); - virtual void SaveConfig(IniFile::Section* sec, const std::string& defdev = "", + virtual void SaveConfig(Common::IniFile::Section* sec, const std::string& defdev = "", const std::string& base = ""); void SetControlExpression(int index, const std::string& expression); |
