summaryrefslogtreecommitdiff
path: root/src/configuration.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-06-16 01:39:44 +0300
committerAndrei Karas <akaras@inbox.ru>2011-06-16 02:24:22 +0300
commit654285675ececa142877d86e6f730d040625fc6e (patch)
treec57e7d21a3b61acd2e1a179152dcb909ce1ececa /src/configuration.h
parent103aa3f43e457ebfcd32fe5ea4624539dd32978d (diff)
downloadManaVerse-654285675ececa142877d86e6f730d040625fc6e.tar.gz
ManaVerse-654285675ececa142877d86e6f730d040625fc6e.tar.bz2
ManaVerse-654285675ececa142877d86e6f730d040625fc6e.tar.xz
ManaVerse-654285675ececa142877d86e6f730d040625fc6e.zip
Add dataPath to branding.
Diffstat (limited to 'src/configuration.h')
-rw-r--r--src/configuration.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/configuration.h b/src/configuration.h
index a0a790990..64c60c734 100644
--- a/src/configuration.h
+++ b/src/configuration.h
@@ -282,6 +282,9 @@ class Configuration : public ConfigurationObject
std::string getStringValue(const std::string &key) const;
bool getBoolValue(const std::string &key) const;
+ std::string getDirectory() const
+ { return mDirectory; }
+
private:
/**
* Clean up the default values member.
@@ -297,6 +300,7 @@ class Configuration : public ConfigurationObject
std::string mConfigPath; /**< Location of config file */
DefaultsData *mDefaultsData; /**< Defaults of value
for a given key */
+ std::string mDirectory;
};
extern Configuration branding;