- introduced a SystemInfoHandler class used to watch for stuff when polling isn't needed.
- used it to add a count of running apps (not exactly the same as teams). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25012 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -141,6 +141,19 @@ public:
|
||||
};
|
||||
|
||||
|
||||
class RunningAppsDataSource : public DataSource {
|
||||
public:
|
||||
RunningAppsDataSource();
|
||||
virtual ~RunningAppsDataSource();
|
||||
|
||||
virtual DataSource* Copy() const;
|
||||
|
||||
virtual int64 NextValue(SystemInfo& info);
|
||||
virtual const char* Label() const;
|
||||
virtual bool AdaptiveScale() const;
|
||||
};
|
||||
|
||||
|
||||
class CPUUsageDataSource : public DataSource {
|
||||
public:
|
||||
CPUUsageDataSource(int32 cpu = 0);
|
||||
|
||||
Reference in New Issue
Block a user