Work on fixing build of "unsupported" platform

This commit is contained in:
Hisham Muhammad
2015-02-23 00:59:24 -03:00
parent 6f868b00c0
commit 5ca9b8e002
3 changed files with 14 additions and 9 deletions

View File

@ -18,6 +18,7 @@ in the source distribution for its full text.
/*{
#include "Action.h"
#include "BatteryMeter.h"
#include "UnsupportedProcess.h"
}*/
void Platform_setBindings(Htop_Action* keys) {
@ -59,8 +60,3 @@ int Platform_getMaxPid() {
return -1;
}
void Platform_getBatteryLevel(double* level, ACPresence* isOnAC) {
*level = -1;
*isOnAC = AC_ERROR;
}