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