diff options
author | Ken Moore <ken@pcbsd.org> | 2015-06-10 15:32:29 -0400 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-06-10 15:32:29 -0400 |
commit | 2bb476d52448ddc0833667feb126d7e6f2342b2d (patch) | |
tree | 7facc087a41be4cc16ce1119945470a5fc0ecad5 /libLumina/LuminaOS-kFreeBSD.cpp | |
parent | Adjust the themes to use the PRIMARY colors instead of the ACCENT colors for ... (diff) | |
download | lumina-2bb476d52448ddc0833667feb126d7e6f2342b2d.tar.gz lumina-2bb476d52448ddc0833667feb126d7e6f2342b2d.tar.bz2 lumina-2bb476d52448ddc0833667feb126d7e6f2342b2d.zip |
Add a new function to LuminaOS: DiskUsage()
This returns the current stats about the available disks on the system (current read/write rates on FreeBSD - not implemented on other OS's yet).
Also use this new function in the systemmonitor desktop plugin.
Diffstat (limited to 'libLumina/LuminaOS-kFreeBSD.cpp')
-rw-r--r-- | libLumina/LuminaOS-kFreeBSD.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-kFreeBSD.cpp b/libLumina/LuminaOS-kFreeBSD.cpp index 8954d685..91de843c 100644 --- a/libLumina/LuminaOS-kFreeBSD.cpp +++ b/libLumina/LuminaOS-kFreeBSD.cpp @@ -185,5 +185,8 @@ int LOS::MemoryUsagePercent(){ return -1; //not implemented yet } +QStringList LOS::DiskUsage(){ //Returns: List of current read/write stats for each device + return QStringList(); //not implemented yet +} #endif #endif |