diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-02 11:23:05 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-02 11:23:05 +0000 |
commit | b8dbdb628ba7a07a785e494d0ed76ebfe9e06615 (patch) | |
tree | 173d22e656ac771e473cdb7c1d035963d39c27e1 /src/configuration.h | |
parent | b05628214d64e579504c87da72e79c024245a631 (diff) | |
download | mana-client-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.tar.gz mana-client-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.tar.bz2 mana-client-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.tar.xz mana-client-b8dbdb628ba7a07a785e494d0ed76ebfe9e06615.zip |
Made config.xml, tmw.log and chatlog.txt always appear in ~/.tmw on *nix.
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 4 |
1 files changed, 3 insertions, 1 deletions
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<std::string, std::string> options; std::map<std::string, std::list<ConfigListener*> > listeners; + + std::string configPath; /**< Location of config file */ }; #endif |