From 2bb476d52448ddc0833667feb126d7e6f2342b2d Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 10 Jun 2015 15:32:29 -0400 Subject: 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. --- libLumina/LuminaOS-Linux.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libLumina/LuminaOS-Linux.cpp') diff --git a/libLumina/LuminaOS-Linux.cpp b/libLumina/LuminaOS-Linux.cpp index 2368f773..ebf49a08 100644 --- a/libLumina/LuminaOS-Linux.cpp +++ b/libLumina/LuminaOS-Linux.cpp @@ -235,4 +235,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 -- cgit