diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-06 12:41:36 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2018-04-06 12:41:36 -0300 |
commit | 6fe06fb7e55831ab81594bbac35c200136746830 (patch) | |
tree | dd4f71a2b02da7c92c1bd195566c2d0d71dc2095 /linux/Platform.h | |
parent | 657836a2ae4c250416a258534b3f383d57f61d4c (diff) |
Portability: make list of default screens per-platform
Diffstat (limited to 'linux/Platform.h')
-rw-r--r-- | linux/Platform.h | 7 |
1 files changed, 5 insertions, 2 deletions
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); |