From feb7a01fd32d4a63b9cfb178c67cc95c05c9dc00 Mon Sep 17 00:00:00 2001 From: David Hunt Date: Sun, 12 Jul 2015 11:26:33 -0500 Subject: Make unsupported run --- unsupported/Platform.h | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) (limited to 'unsupported/Platform.h') diff --git a/unsupported/Platform.h b/unsupported/Platform.h index 64261f7a..2b987405 100644 --- a/unsupported/Platform.h +++ b/unsupported/Platform.h @@ -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 -- cgit v1.2.3