diff options
author | Alexander Baldeck <alexander@archlinux.org> | 2004-12-26 14:46:39 +0000 |
---|---|---|
committer | Alexander Baldeck <alexander@archlinux.org> | 2004-12-26 14:46:39 +0000 |
commit | 0ad7cabf1feaa6af32f127254453f6b37d9fecc6 (patch) | |
tree | 7c4bae6232889672da3ff7bcf4fa042b37049daf /src/configuration.h | |
parent | f98f9d96ec60b5e64117f9f241f3a3a8fc300b7d (diff) | |
download | mana-0ad7cabf1feaa6af32f127254453f6b37d9fecc6.tar.gz mana-0ad7cabf1feaa6af32f127254453f6b37d9fecc6.tar.bz2 mana-0ad7cabf1feaa6af32f127254453f6b37d9fecc6.tar.xz mana-0ad7cabf1feaa6af32f127254453f6b37d9fecc6.zip |
- final touch to writing mechanism of the config system
- tmw now can read and write its ini file
- some fixes in login.cpp to get it to work properly
- Init method -> init
- Write method -> write
- minor code "beautification" in several files
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/configuration.h b/src/configuration.h index 2bd8f83b..db99007c 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -37,9 +37,9 @@ */ class Configuration { public: - void Init(std::string); + void init(std::string); - bool Write(std::string); + bool write(std::string); void setValue(std::string, std::string); void setValue(std::string, float); @@ -47,7 +47,6 @@ class Configuration { std::string getValue(std::string, std::string); float getValue(std::string, float); private: - std::ifstream inFile; typedef struct INI_OPTION { std::string key; |