diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-04 22:30:49 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-04 22:30:49 +0000 |
commit | 7218e3bd4616d4706090ec47d72845a2bb89c6a3 (patch) | |
tree | cbf3fdb0dddf573edff89b50af22e8a84690cf00 /src/filesystem/inifile.h | |
parent | 33e45d8052b385aa8b1fce68122c8d11f50e7e42 (diff) |
split map reading from models
Diffstat (limited to 'src/filesystem/inifile.h')
-rw-r--r-- | src/filesystem/inifile.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/filesystem/inifile.h b/src/filesystem/inifile.h index 6503053..f5c903d 100644 --- a/src/filesystem/inifile.h +++ b/src/filesystem/inifile.h @@ -24,13 +24,14 @@ namespace filesystem { class IniFile { public: IniFile(); - virtual ~IniFile(); + ~IniFile(); /// open the file for reading /** the filename will get the "ini/" prefix and ".ini" suffix */ - virtual void open(std::string const & name); + bool open(std::string const & name); + /// parse one line, returns false on end-of-file bool getline(); /// current section label |