diff options
author | David Hunt <dhunt@iolanthe.attlocal.net> | 2015-07-12 11:26:33 -0500 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-08-19 13:46:41 -0300 |
commit | feb7a01fd32d4a63b9cfb178c67cc95c05c9dc00 (patch) | |
tree | 0d82a9640e852046724daabeea1a0f9f0633530e /unsupported/Platform.h | |
parent | 5e602f18d5f619f7dba6d9fccefacdb991db391d (diff) |
Make unsupported run
Diffstat (limited to 'unsupported/Platform.h')
-rw-r--r-- | unsupported/Platform.h | 22 |
1 files changed, 21 insertions, 1 deletions
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 |