diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-05-18 19:53:51 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-05-18 19:53:51 +0200 |
commit | fc3c50063f659584b2145addab8236a479a031b7 (patch) | |
tree | 0aa7057cb9fa7523ace98e0776d46609de58954e /src/Common/SystemBackend.h | |
parent | a3e566c4d3631076e29f3651554603184b6351a7 (diff) | |
download | mad-fc3c50063f659584b2145addab8236a479a031b7.tar mad-fc3c50063f659584b2145addab8236a479a031b7.zip |
Von sigc++ auf boost-signals migriert
Diffstat (limited to 'src/Common/SystemBackend.h')
-rw-r--r-- | src/Common/SystemBackend.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Common/SystemBackend.h b/src/Common/SystemBackend.h index 9c3eaa2..ed553c2 100644 --- a/src/Common/SystemBackend.h +++ b/src/Common/SystemBackend.h @@ -31,27 +31,27 @@ class SystemBackend { protected: friend class SystemManager; - virtual bool getUptimeInfo(const sigc::slot<void, unsigned long, unsigned long> &callback _UNUSED_PARAMETER_) { + virtual bool getUptimeInfo(const boost::function2<void, unsigned long, unsigned long> &callback _UNUSED_PARAMETER_) { return false; } - virtual bool getMemoryInfo(const sigc::slot<void, unsigned long, unsigned long, unsigned long, unsigned long> &callback _UNUSED_PARAMETER_) { + virtual bool getMemoryInfo(const boost::function4<void, unsigned long, unsigned long, unsigned long, unsigned long> &callback _UNUSED_PARAMETER_) { return false; } - virtual bool getLoadInfo(const sigc::slot<void, unsigned long, unsigned long, float, float, float> &callback _UNUSED_PARAMETER_) { + virtual bool getLoadInfo(const boost::function5<void, unsigned long, unsigned long, float, float, float> &callback _UNUSED_PARAMETER_) { return false; } - virtual bool getFSInfo(const sigc::slot<void, const std::vector<SystemManager::FSInfo>& > &callback _UNUSED_PARAMETER_) { + virtual bool getFSInfo(const boost::function1<void, const std::vector<SystemManager::FSInfo>& > &callback _UNUSED_PARAMETER_) { return false; } - virtual bool shutdown(const sigc::slot<void> &callback _UNUSED_PARAMETER_) { + virtual bool shutdown(const boost::function0<void> &callback _UNUSED_PARAMETER_) { return false; } - virtual bool reboot(const sigc::slot<void> &callback _UNUSED_PARAMETER_) { + virtual bool reboot(const boost::function0<void> &callback _UNUSED_PARAMETER_) { return false; } |