diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2015-10-06 03:02:49 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2015-10-06 03:02:49 -0300 |
commit | 3fe2f3e28ec183c4cbab112aaf3689ba843a5c5c (patch) | |
tree | 637af38137927edbbca1d95455131ae83fbd3d0e /linux/Platform.h | |
parent | fbb4c49edd666dbbba9fa41906604c386b95b5ed (diff) |
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.
Diffstat (limited to 'linux/Platform.h')
-rw-r--r-- | linux/Platform.h | 5 |
1 files changed, 5 insertions, 0 deletions
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[]; |