Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/filesystem/inifile.h')
-rw-r--r--src/filesystem/inifile.h5
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