diff options
author | Johannes Schickel | 2013-08-08 16:22:08 +0200 |
---|---|---|
committer | Johannes Schickel | 2013-08-08 16:28:38 +0200 |
commit | 63750d678068aa92ee95dc9de2b2908a983b489d (patch) | |
tree | c2369e4b10f348448566bce633e6cdb11a8c7130 /engines/gob | |
parent | 6e5c308b91031b8b7ae2dc5dd87bb4c2bc20ad81 (diff) | |
download | scummvm-rg350-63750d678068aa92ee95dc9de2b2908a983b489d.tar.gz scummvm-rg350-63750d678068aa92ee95dc9de2b2908a983b489d.tar.bz2 scummvm-rg350-63750d678068aa92ee95dc9de2b2908a983b489d.zip |
COMMON: Rename ConfigFile to INIFile.
This clears up that 'ConfigFile' is actually a class handling only INI-files.
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/iniconfig.cpp | 4 | ||||
-rw-r--r-- | engines/gob/iniconfig.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/gob/iniconfig.cpp b/engines/gob/iniconfig.cpp index bba531723c..032231bd4d 100644 --- a/engines/gob/iniconfig.cpp +++ b/engines/gob/iniconfig.cpp @@ -73,7 +73,7 @@ bool INIConfig::getConfig(const Common::String &file, Config &config) { } bool INIConfig::openConfig(const Common::String &file, Config &config) { - config.config = new Common::ConfigFile(); + config.config = new Common::INIFile(); config.created = false; if (!config.config->loadFromFile(file)) { @@ -89,7 +89,7 @@ bool INIConfig::openConfig(const Common::String &file, Config &config) { } bool INIConfig::createConfig(const Common::String &file, Config &config) { - config.config = new Common::ConfigFile(); + config.config = new Common::INIFile(); config.created = true; _configs.setVal(file, config); diff --git a/engines/gob/iniconfig.h b/engines/gob/iniconfig.h index bf60f2d125..c1890170dc 100644 --- a/engines/gob/iniconfig.h +++ b/engines/gob/iniconfig.h @@ -24,7 +24,7 @@ #define GOB_INICONFIG_H #include "common/str.h" -#include "common/config-file.h" +#include "common/ini-file.h" #include "common/hashmap.h" namespace Gob { @@ -43,7 +43,7 @@ public: private: struct Config { - Common::ConfigFile *config; + Common::INIFile *config; bool created; }; |