summaryrefslogtreecommitdiffstats
path: root/freebsd/Platform.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-11-27 21:07:42 -0200
committerHisham Muhammad <hisham@gobolinux.org>2014-11-27 21:07:42 -0200
commitc29e53c5d5aa9b9a5e13ea5ee74bb0fd13fc7f93 (patch)
tree6d27c42c4dcaee9917ae43e7cc6cc086ebbaea35 /freebsd/Platform.h
parentd4c26a393212ab0e73688d23b31f0b5331981323 (diff)
Add a stub for the battery meter.
Diffstat (limited to 'freebsd/Platform.h')
-rw-r--r--freebsd/Platform.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/Platform.h b/freebsd/Platform.h
index 62bd7ca8..eb2a8017 100644
--- a/freebsd/Platform.h
+++ b/freebsd/Platform.h
@@ -10,6 +10,7 @@ in the source distribution for its full text.
*/
#include "Action.h"
+#include "BatteryMeter.h"
void Platform_setBindings(Htop_Action* keys);
@@ -21,4 +22,7 @@ void Platform_getLoadAverage(double* one, double* five, double* fifteen);
int Platform_getMaxPid();
+void Platform_getBatteryLevel(double* level, ACPresence* isOnAC);
+
+
#endif

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