2014-11-27 21:02:52 -02:00
|
|
|
/* Do not edit this file. It was automatically generated. */
|
|
|
|
|
|
|
|
#ifndef HEADER_Platform
|
|
|
|
#define HEADER_Platform
|
|
|
|
/*
|
|
|
|
htop - linux/Platform.h
|
|
|
|
(C) 2014 Hisham H. Muhammad
|
|
|
|
Released under the GNU GPL, see the COPYING file
|
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "Action.h"
|
2015-01-23 03:08:21 -02:00
|
|
|
#include "MainPanel.h"
|
2014-11-27 21:02:52 -02:00
|
|
|
#include "BatteryMeter.h"
|
2015-02-20 14:52:10 -02:00
|
|
|
#include "LinuxProcess.h"
|
2014-11-27 21:02:52 -02:00
|
|
|
|
2015-03-16 01:43:04 -03:00
|
|
|
extern ProcessField Platform_defaultFields[];
|
2015-03-15 20:29:13 -03:00
|
|
|
|
|
|
|
extern int Platform_numberOfFields;
|
|
|
|
|
2014-11-27 21:02:52 -02:00
|
|
|
void Platform_setBindings(Htop_Action* keys);
|
|
|
|
|
|
|
|
extern MeterClass* Platform_meterTypes[];
|
|
|
|
|
|
|
|
int Platform_getUptime();
|
|
|
|
|
|
|
|
void Platform_getLoadAverage(double* one, double* five, double* fifteen);
|
|
|
|
|
|
|
|
int Platform_getMaxPid();
|
|
|
|
|
2015-01-21 23:27:31 -02:00
|
|
|
double Platform_setCPUValues(Meter* this, int cpu);
|
|
|
|
|
|
|
|
void Platform_setMemoryValues(Meter* this);
|
|
|
|
|
|
|
|
void Platform_setSwapValues(Meter* this);
|
|
|
|
|
2014-11-27 21:02:52 -02:00
|
|
|
#endif
|