From 6fe06fb7e55831ab81594bbac35c200136746830 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Fri, 6 Apr 2018 12:41:36 -0300 Subject: Portability: make list of default screens per-platform --- linux/Platform.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'linux/Platform.h') diff --git a/linux/Platform.h b/linux/Platform.h index b0456e5b..f17e2b3e 100644 --- a/linux/Platform.h +++ b/linux/Platform.h @@ -14,17 +14,20 @@ in the source distribution for its full text. #include "BatteryMeter.h" #include "LinuxProcess.h" #include "SignalsPanel.h" +#include "Settings.h" #ifndef CLAMP #define CLAMP(x,low,high) (((x)>(high))?(high):(((x)<(low))?(low):(x))) #endif -extern ProcessField Platform_defaultFields[]; - extern int Platform_numberOfFields; extern const SignalItem Platform_signals[]; +extern ScreenDefaults Platform_defaultScreens[]; + +extern const unsigned int Platform_numberOfDefaultScreens; + extern const unsigned int Platform_numberOfSignals; void Platform_setBindings(Htop_Action* keys); -- cgit v1.2.3