Common/IniFile: Move interface into Common namespace
Gets this out of the global namespace and into the Common namespace
This commit is contained in:
1 parent
5c03b8af88
commit
e4caace6bb
45 files changed
+172
-137
No files matched your search
@@ -139,7 +139,7 @@ void EmulatedController::SetDefaultDevice(ciface::Core::DeviceQualifier devq)
|
||||
}
|
||||
}
|
||||
|
||||
void EmulatedController::LoadConfig(IniFile::Section* sec, const std::string& base)
|
||||
void EmulatedController::LoadConfig(Common::IniFile::Section* sec, const std::string& base)
|
||||
{
|
||||
const auto lock = GetStateLock();
|
||||
std::string defdev = GetDefaultDevice().ToString();
|
||||
@@ -153,7 +153,7 @@ void EmulatedController::LoadConfig(IniFile::Section* sec, const std::string& ba
|
||||
cg->LoadConfig(sec, defdev, base);
|
||||
}
|
||||
|
||||
void EmulatedController::SaveConfig(IniFile::Section* sec, const std::string& base)
|
||||
void EmulatedController::SaveConfig(Common::IniFile::Section* sec, const std::string& base)
|
||||
{
|
||||
const auto lock = GetStateLock();
|
||||
const std::string defdev = GetDefaultDevice().ToString();
|
||||
@@ -168,7 +168,7 @@ void EmulatedController::LoadDefaults(const ControllerInterface& ciface)
|
||||
{
|
||||
const auto lock = GetStateLock();
|
||||
// load an empty inifile section, clears everything
|
||||
IniFile::Section sec;
|
||||
Common::IniFile::Section sec;
|
||||
LoadConfig(&sec);
|
||||
|
||||
const std::string& default_device_string = ciface.GetDefaultDeviceString();
|
||||
|
||||
Reference in new issue
Block a user