summaryrefslogtreecommitdiff
path: root/src/configuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/configuration.h')
-rw-r--r--src/configuration.h4
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