From b8dbdb628ba7a07a785e494d0ed76ebfe9e06615 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Mon, 2 May 2005 11:23:05 +0000 Subject: Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix. --- src/configuration.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/configuration.h') diff --git a/src/configuration.h b/src/configuration.h index 8c5a0470..e6959ee5 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -58,7 +58,7 @@ class Configuration { * \brief Writes the current settings back to an ini-file. * \param filename Full path to INI file (~/.manaworld/tmw.ini) */ - bool write(const std::string &filename); + bool write(); /** * \brief Sets an option using a string value. @@ -102,6 +102,8 @@ class Configuration { private: std::map options; std::map > listeners; + + std::string configPath; /**< Location of config file */ }; #endif -- cgit v1.2.3-70-g09d2