aboutsummaryrefslogtreecommitdiffstats
path: root/Settings.h
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2020-08-27 07:48:10 +0200
committerDaniel Lange <DLange@git.local>2020-08-27 07:48:10 +0200
commitf3147ea2d1598914c2db53e8cfb34c8ff81e2ff4 (patch)
tree3ee82b2af2ab3d38b6e4b07f3994516aac72f742 /Settings.h
parentdf568a576f7b44ac5a2b9b7222c7f39d9932f626 (diff)
downloaddebian_htop-f3147ea2d1598914c2db53e8cfb34c8ff81e2ff4.tar.gz
debian_htop-f3147ea2d1598914c2db53e8cfb34c8ff81e2ff4.tar.bz2
debian_htop-f3147ea2d1598914c2db53e8cfb34c8ff81e2ff4.zip
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'Settings.h')
-rw-r--r--Settings.h17
1 files changed, 12 insertions, 5 deletions
diff --git a/Settings.h b/Settings.h
index d9dc068..f38b8ec 100644
--- a/Settings.h
+++ b/Settings.h
@@ -22,7 +22,7 @@ typedef struct {
typedef struct Settings_ {
char* filename;
-
+
MeterColumnSettings columns[2];
ProcessField* fields;
@@ -36,6 +36,8 @@ typedef struct Settings_ {
bool countCPUsFromZero;
bool detailedCPUTime;
+ bool showCPUUsage;
+ bool showCPUFrequency;
bool treeView;
bool showProgramPath;
bool hideThreads;
@@ -49,6 +51,11 @@ typedef struct Settings_ {
bool updateProcessNames;
bool accountGuestInCPUMeter;
bool headerMargin;
+ bool enableMouse;
+ bool vimMode;
+ #ifdef HAVE_LIBHWLOC
+ bool topologyAffinity;
+ #endif
bool changed;
} Settings;
@@ -58,12 +65,12 @@ typedef struct Settings_ {
#endif
-void Settings_delete(Settings* this);
+extern void Settings_delete(Settings* this);
-bool Settings_write(Settings* this);
+extern bool Settings_write(Settings* this);
-Settings* Settings_new(int cpuCount);
+extern Settings* Settings_new(int cpuCount);
-void Settings_invertSortOrder(Settings* this);
+extern void Settings_invertSortOrder(Settings* this);
#endif

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