From: Bjoern Sikora Date: Fri, 24 Jul 2009 15:14:54 +0000 (+0200) Subject: Updater class. X-Git-Tag: v1.1~278 X-Git-Url: http://developer.intra2net.com/git/?a=commitdiff_plain;h=527536b3b939801293d94c24fc606bccc1cd88cb;p=bpdyndnsd Updater class. --- diff --git a/src/updater.cpp b/src/updater.cpp index c092743..97b84a5 100644 --- a/src/updater.cpp +++ b/src/updater.cpp @@ -13,29 +13,35 @@ #include + Updater::Updater() { } + Updater::Updater(Config* conf) { this->conf = conf; } + Updater::~Updater() { } + void Updater::set_config(Config* conf) { this->conf = conf; } + Config* Updater::get_config() { return this->conf; } + void Updater::update_services() { list services = this->conf->get_services();