Make unsupported run

This commit is contained in:
David Hunt
2015-07-12 11:26:33 -05:00
committed by Hisham Muhammad
parent 5e602f18d5
commit feb7a01fd3
6 changed files with 159 additions and 31 deletions

View File

@ -5,6 +5,7 @@
/*
htop - unsupported/Platform.h
(C) 2014 Hisham H. Muhammad
(C) 2015 David C. Hunt
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
@ -13,14 +14,33 @@ in the source distribution for its full text.
#include "BatteryMeter.h"
#include "UnsupportedProcess.h"
void Platform_setBindings(Htop_Action* keys);
extern ProcessField Platform_defaultFields[];
extern ProcessFieldData Process_fields[];
extern MeterClass* Platform_meterTypes[];
void Platform_setBindings(Htop_Action* keys);
extern int Platform_numberOfFields;
extern char* Process_pidFormat;
extern char* Process_tpgidFormat;
int Platform_getUptime();
void Platform_getLoadAverage(double* one, double* five, double* fifteen);
int Platform_getMaxPid();
void Process_setupColumnWidths();
double Platform_setCPUValues(Meter* this, int cpu);
void Platform_setMemoryValues(Meter* this);
void Platform_setSwapValues(Meter* this);
bool Process_isThread(Process* this);
#endif