9 #include "uniconfroot.h"
12 UniWatch::UniWatch(
const UniConf &_cfg,
const UniConfCallback &_cb,
14 : cfg(_cfg), cb(_cb), recurse(_recurse)
16 cfg.add_callback(
this, cb, recurse);
20 UniWatch::UniWatch(
const UniConf &_cfg,
bool *b,
bool _recurse)
21 : cfg(_cfg), cb(wv::bind(&
UniConfRoot::setbool_callback, b, _1, _2)),
24 cfg.add_callback(
this, cb, recurse);
void del_callback(void *cookie, bool recurse=true) const
Cancels notification requested using add_callback().
UniConf instances function as handles to subtrees of a UniConf tree and expose a high-level interface...
Represents the root of a hierarhical registry consisting of pairs of UniConfKeys and associated strin...