From 3fe2f3e28ec183c4cbab112aaf3689ba843a5c5c Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Tue, 6 Oct 2015 03:02:49 -0300 Subject: Move list of signals to platform-specific code. Implementations for Linux (tested) and FreeBSD (still untested, thanks to @etosan for providing the table). Darwin and OpenBSD(ping @mmcco) builds should be broken now, pending their own tables. --- linux/Platform.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'linux/Platform.h') diff --git a/linux/Platform.h b/linux/Platform.h index 206fc812..2c79b299 100644 --- a/linux/Platform.h +++ b/linux/Platform.h @@ -13,11 +13,16 @@ in the source distribution for its full text. #include "MainPanel.h" #include "BatteryMeter.h" #include "LinuxProcess.h" +#include "SignalsPanel.h" extern ProcessField Platform_defaultFields[]; extern int Platform_numberOfFields; +extern SignalItem Platform_signals[]; + +extern unsigned int Platform_numberOfSignals; + void Platform_setBindings(Htop_Action* keys); extern MeterClass* Platform_meterTypes[]; -- cgit v1.2.3