diff options
author | Nathan Scott <nathans@redhat.com> | 2020-11-17 18:12:38 +1100 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-11-18 10:17:33 +1100 |
commit | ea9622b8c9444d92007f24fc54597f83c498f11d (patch) | |
tree | 13cb45909d2c873b7b09ec59580d6a8db4676b0b /freebsd/Platform.h | |
parent | e3af8d0d0851dd6ce25446a7f9a99e2127795a78 (diff) |
Merge individual Battery.[ch] files into Platform.[ch]
Consistent with everything else involving platform-specific
calls from core htop code.
Diffstat (limited to 'freebsd/Platform.h')
-rw-r--r-- | freebsd/Platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/freebsd/Platform.h b/freebsd/Platform.h index 72e964aa..5e3b29fb 100644 --- a/freebsd/Platform.h +++ b/freebsd/Platform.h @@ -59,4 +59,6 @@ bool Platform_getNetworkIO(unsigned long int* bytesReceived, unsigned long int* bytesTransmitted, unsigned long int* packetsTransmitted); +void Platform_getBattery(double* level, ACPresence* isOnAC); + #endif |