diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-21 22:39:53 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-05-21 22:39:53 +0000 |
commit | e4e3f73db10d345453f2c6d06ae1dc499a4c7404 (patch) | |
tree | 7117443cf1267f9354206c21d70ac4ae0ddefcec /src/configuration.h | |
parent | 241e2461446a830194f202b840abcd3598f804a5 (diff) | |
download | mana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.tar.gz mana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.tar.bz2 mana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.tar.xz mana-e4e3f73db10d345453f2c6d06ae1dc499a4c7404.zip |
Numerous things:
* Fixed two non-virtual destructor warnings showing up with GCC 4.
* Fixed OpenGL inventory text drawing that broke in last commit
* Removed glClear cause screen is redrawn completely anyway
* Fixed updating of buttons in inventory window
* Made items.xml be loaded through resource manager.
Diffstat (limited to 'src/configuration.h')
-rw-r--r-- | src/configuration.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/configuration.h b/src/configuration.h index 719ee711..75699f30 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -38,6 +38,15 @@ class ConfigListener { public: + /** + * Destructor. + */ + virtual ~ConfigListener(); + + /** + * Called when an option changed. The config listener will have to be + * registered to the option name first. + */ virtual void optionChanged(const std::string &name) = 0; }; @@ -46,7 +55,8 @@ class ConfigListener * * \ingroup CORE */ -class Configuration { +class Configuration +{ public: /** * \brief Reads INI file and parse all options into memory. |