summaryrefslogtreecommitdiffstats
path: root/openbsd
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-11-19 12:00:56 +1100
committerNathan Scott <nathans@redhat.com>2020-11-19 12:00:56 +1100
commit329011bb982b7dda02e6901173e6fc34bcaa2645 (patch)
tree783991766982a805e3c6bb1990196131fc72cd13 /openbsd
parent0a2105eb22dc1121501ca68005059ca19cc7fa34 (diff)
Add missing OpenBSD battery function declaration
Diffstat (limited to 'openbsd')
-rw-r--r--openbsd/Platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsd/Platform.h b/openbsd/Platform.h
index 9d2701dc..a624bb7b 100644
--- a/openbsd/Platform.h
+++ b/openbsd/Platform.h
@@ -57,4 +57,6 @@ bool Platform_getNetworkIO(unsigned long int* bytesReceived,
unsigned long int* bytesTransmitted,
unsigned long int* packetsTransmitted);
+void Platform_getBattery(double* level, ACPresence* isOnAC);
+
#endif

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