mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Common/IniFile: Move interface into Common namespace
Gets this out of the global namespace and into the Common namespace
This commit is contained in:
@ -15,6 +15,8 @@
|
||||
#include "Common/FileUtil.h"
|
||||
#include "Common/StringUtil.h"
|
||||
|
||||
namespace Common
|
||||
{
|
||||
void IniFile::ParseLine(std::string_view line, std::string* keyOut, std::string* valueOut)
|
||||
{
|
||||
if (line.empty() || line.front() == '#')
|
||||
@ -369,3 +371,4 @@ bool IniFile::Save(const std::string& filename)
|
||||
return 0;
|
||||
}
|
||||
*/
|
||||
} // namespace Common
|
||||
|
@ -13,6 +13,8 @@
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/StringUtil.h"
|
||||
|
||||
namespace Common
|
||||
{
|
||||
struct CaseInsensitiveStringCompare
|
||||
{
|
||||
// Allow heterogenous lookup.
|
||||
@ -166,3 +168,4 @@ private:
|
||||
|
||||
static const std::string& NULL_STRING;
|
||||
};
|
||||
} // namespace Common
|
||||
|
Reference in New Issue
Block a user