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;
Observable(const std::string &_key)
Initiate an object which can apply Notify() and Listen() to given key.
General observable pattern implementation built on top of wxWidgets event handling.