summaryrefslogtreecommitdiffstats
path: root/darwin/Platform.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-11-17 18:12:38 +1100
committerNathan Scott <nathans@redhat.com>2020-11-18 10:17:33 +1100
commitea9622b8c9444d92007f24fc54597f83c498f11d (patch)
tree13cb45909d2c873b7b09ec59580d6a8db4676b0b /darwin/Platform.h
parente3af8d0d0851dd6ce25446a7f9a99e2127795a78 (diff)
Merge individual Battery.[ch] files into Platform.[ch]
Consistent with everything else involving platform-specific calls from core htop code.
Diffstat (limited to 'darwin/Platform.h')
-rw-r--r--darwin/Platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/darwin/Platform.h b/darwin/Platform.h
index f42b7209..40b7d730 100644
--- a/darwin/Platform.h
+++ b/darwin/Platform.h
@@ -65,4 +65,6 @@ bool Platform_getNetworkIO(unsigned long int* bytesReceived,
unsigned long int* bytesTransmitted,
unsigned long int* packetsTransmitted);
+void Platform_getBattery(double *percent, ACPresence *isOnAC);
+
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy