diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-10-03 01:30:27 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-10-03 01:30:27 +0200 |
commit | 426d60a6992259ca80431c59e916073cc31f5261 (patch) | |
tree | ce88e01006e91ce4c159afc645777f9b458110b3 /src/Common/Backends/SystemBackendProc.h | |
parent | 2f5eba3ce1bddf30b23444042f955adc10d84855 (diff) | |
download | mad-426d60a6992259ca80431c59e916073cc31f5261.tar mad-426d60a6992259ca80431c59e916073cc31f5261.zip |
Callback-basierte SystemBackends f?r h?here Flexibilit?t
Diffstat (limited to 'src/Common/Backends/SystemBackendProc.h')
-rw-r--r-- | src/Common/Backends/SystemBackendProc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Common/Backends/SystemBackendProc.h b/src/Common/Backends/SystemBackendProc.h index 619c996..79ff6c5 100644 --- a/src/Common/Backends/SystemBackendProc.h +++ b/src/Common/Backends/SystemBackendProc.h @@ -47,9 +47,9 @@ class SystemBackendProc : public SystemBackend { SystemBackend::unregisterBackend(&backend); } - virtual UptimeInfo uptimeInfo(); - virtual MemoryInfo memoryInfo(); - virtual LoadInfo loadInfo(); + virtual bool uptimeInfo(const sigc::slot<void, unsigned long, unsigned long> &callback); + virtual bool memoryInfo(const sigc::slot<void, unsigned long, unsigned long, unsigned long, unsigned long> &callback); + virtual bool loadInfo(const sigc::slot<void, unsigned long, unsigned long, float, float, float> &callback); }; } |