24 #ifndef OBSERVABLE_CONFVAR_H
25 #define OBSERVABLE_CONFVAR_H
31 #include <wx/config.h>
33 #include "observable.h"
66 template <
typename T = std::
string>
69 ConfigVar(
const std::string& section_,
const std::string& key_,
72 void Set(
const T& arg);
74 const T Get(
const T& default_val);
79 const std::string section;
80 const std::string key;
81 wxConfigBase*
const config;
Wrapper for configuration variables which lives in a wxBaseConfig object.
The observable notify/listen basic nuts and bolts.