25#ifndef OBSERVABLE_CONFVAR_H
26#define OBSERVABLE_CONFVAR_H
67template <
typename T = std::
string>
70 ConfigVar(
const std::string& section_,
const std::string& key_,
74 void Set(
const T& arg);
76 T Get(
const T& default_val);
79 const std::string m_section;
80 const std::string m_key;
81 wxConfigBase*
const m_config;
Wrapper for configuration variables which lives in a wxBaseConfig object.
The observable notify/listen basic nuts and bolts.
General observable pattern implementation built on top of wxWidgets event handling.