From 0ad7cabf1feaa6af32f127254453f6b37d9fecc6 Mon Sep 17 00:00:00 2001 From: Alexander Baldeck Date: Sun, 26 Dec 2004 14:46:39 +0000 Subject: - 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 --- src/configuration.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/configuration.h') 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; -- cgit v1.2.3-70-g09d2