From ea9622b8c9444d92007f24fc54597f83c498f11d Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 17 Nov 2020 18:12:38 +1100 Subject: Merge individual Battery.[ch] files into Platform.[ch] Consistent with everything else involving platform-specific calls from core htop code. --- linux/Platform.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'linux/Platform.h') diff --git a/linux/Platform.h b/linux/Platform.h index fc249095..dbd6bb46 100644 --- a/linux/Platform.h +++ b/linux/Platform.h @@ -11,6 +11,7 @@ in the source distribution for its full text. #include #include "Action.h" +#include "BatteryMeter.h" #include "DiskIOMeter.h" #include "Meter.h" #include "Process.h" @@ -62,4 +63,6 @@ bool Platform_getNetworkIO(unsigned long int* bytesReceived, unsigned long int* bytesTransmitted, unsigned long int* packetsTransmitted); +void Platform_getBattery(double *percent, ACPresence *isOnAC); + #endif -- cgit v1.2.3