From fc3c50063f659584b2145addab8236a479a031b7 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 18 May 2009 19:53:51 +0200 Subject: Von sigc++ auf boost-signals migriert --- src/Common/SystemManager.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/Common/SystemManager.h') diff --git a/src/Common/SystemManager.h b/src/Common/SystemManager.h index 5de7180..20d3c05 100644 --- a/src/Common/SystemManager.h +++ b/src/Common/SystemManager.h @@ -24,7 +24,7 @@ #include #include -#include +#include namespace Mad { namespace Common { @@ -62,14 +62,14 @@ class SystemManager { backends.erase(backend); } - bool getUptimeInfo(const sigc::slot &callback); - bool getMemoryInfo(const sigc::slot &callback); - bool getLoadInfo(const sigc::slot &callback); + bool getUptimeInfo(const boost::function2 &callback); + bool getMemoryInfo(const boost::function4 &callback); + bool getLoadInfo(const boost::function5 &callback); - bool getFSInfo(const sigc::slot& > &callback); + bool getFSInfo(const boost::function1& > &callback); - bool shutdown(const sigc::slot &callback); - bool reboot(const sigc::slot &callback); + bool shutdown(const boost::function0 &callback); + bool reboot(const boost::function0 &callback); static SystemManager *get() { return &systemManager; -- cgit v1.2.3