summaryrefslogtreecommitdiff
path: root/Source/Core/Common/IniFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/IniFile.cpp')
-rw-r--r--Source/Core/Common/IniFile.cpp55
1 files changed, 0 insertions, 55 deletions
diff --git a/Source/Core/Common/IniFile.cpp b/Source/Core/Common/IniFile.cpp
index 642835ac90..6159c2897d 100644
--- a/Source/Core/Common/IniFile.cpp
+++ b/Source/Core/Common/IniFile.cpp
@@ -436,61 +436,6 @@ bool IniFile::Save(const std::string& filename)
return File::RenameSync(temp, filename);
}
-bool IniFile::Get(const std::string& sectionName, const std::string& key, std::vector<std::string>* values)
-{
- Section *section = GetSection(sectionName);
- if (!section)
- return false;
- return section->Get(key, values);
-}
-
-bool IniFile::Get(const std::string& sectionName, const std::string& key, int* value, int defaultValue)
-{
- Section *section = GetSection(sectionName);
- if (!section) {
- *value = defaultValue;
- return false;
- } else {
- return section->Get(key, value, defaultValue);
- }
-}
-
-bool IniFile::Get(const std::string& sectionName, const std::string& key, u32* value, u32 defaultValue)
-{
- Section *section = GetSection(sectionName);
- if (!section) {
- *value = defaultValue;
- return false;
- } else {
- return section->Get(key, value, defaultValue);
- }
-}
-
-bool IniFile::Get(const std::string& sectionName, const std::string& key, bool* value, bool defaultValue)
-{
- Section *section = GetSection(sectionName);
- if (!section) {
- *value = defaultValue;
- return false;
- } else {
- return section->Get(key, value, defaultValue);
- }
-}
-
-bool IniFile::Get(const std::string& sectionName, const std::string& key, std::string* value, const std::string& defaultValue)
-{
- Section* section = GetSection(sectionName);
- if (!section) {
- if (&defaultValue != &NULL_STRING) {
- *value = defaultValue;
- }
- return false;
- }
- return section->Get(key, value, defaultValue);
-}
-
-
-
// Unit test. TODO: Move to the real unit test framework.
/*
int main()