8 #include "uniwvconfgen.h"
17 WvConfigSection::Iter i;
39 void UniWvConfGen::notify(
void *userdata,
WvStringParm section,
52 UniWvConfGen::UniWvConfGen(
WvConf *_cfg):
53 tempkey(NULL), tempvalue(), cfg(_cfg)
55 cfg->add_callback(wv::bind(&UniWvConfGen::notify,
this, _1, _2, _3, _4, _5),
60 UniWvConfGen::~UniWvConfGen()
69 if (tempkey && key == *tempkey)
82 if (value == WvString::null && sect)
83 cfg->delete_section(key);
85 cfg->set(section, keyname, value);