diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-24 00:02:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-24 00:02:50 +0300 |
commit | 944aaba6adf16becb8c82efd35df25f8c90e25b5 (patch) | |
tree | dd3026bb8683d7e626e7bc9c93d14b3df47229de /src/configuration.h | |
parent | 0e9c8d981843947d2210bf3782ddacf01ae8fff9 (diff) | |
download | manaplus-944aaba6adf16becb8c82efd35df25f8c90e25b5.tar.gz manaplus-944aaba6adf16becb8c82efd35df25f8c90e25b5.tar.bz2 manaplus-944aaba6adf16becb8c82efd35df25f8c90e25b5.tar.xz manaplus-944aaba6adf16becb8c82efd35df25f8c90e25b5.zip |
Improve playerrelation class.
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/configuration.h b/src/configuration.h index 1ac38e9aa..1d703fd99 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -56,8 +56,9 @@ class ConfigurationListManager * \return obj, or otherwise NULL to indicate that this option should * be skipped */ - virtual ConfigurationObject - *writeConfigItem(T value, ConfigurationObject *obj) = 0; + virtual ConfigurationObject *writeConfigItem(const T &value, + ConfigurationObject + *const obj) const = 0; /** * Reads a value from a configuration object @@ -65,8 +66,9 @@ class ConfigurationListManager * \param obj The configuration object to read from * \param container The container to insert the object to */ - virtual CONT readConfigItem(ConfigurationObject *const obj, - CONT container) A_WARN_UNUSED = 0; + virtual CONT readConfigItem(const ConfigurationObject *const obj, + CONT container) + const A_WARN_UNUSED = 0; virtual ~ConfigurationListManager() {} }; |