From 527536b3b939801293d94c24fc606bccc1cd88cb Mon Sep 17 00:00:00 2001 From: Bjoern Sikora Date: Fri, 24 Jul 2009 17:14:54 +0200 Subject: [PATCH] Updater class. --- src/updater.cpp | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) 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(); -- 1.7.1