summaryrefslogtreecommitdiffstats
path: root/linux/Platform.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2018-04-06 12:41:36 -0300
committerHisham Muhammad <hisham@gobolinux.org>2018-04-06 12:41:36 -0300
commit6fe06fb7e55831ab81594bbac35c200136746830 (patch)
treedd4f71a2b02da7c92c1bd195566c2d0d71dc2095 /linux/Platform.h
parent657836a2ae4c250416a258534b3f383d57f61d4c (diff)
Portability: make list of default screens per-platform
Diffstat (limited to 'linux/Platform.h')
-rw-r--r--linux/Platform.h7
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);

© 2014-2024 Faster IT GmbH | imprint | privacy policy