summaryrefslogtreecommitdiffstats
path: root/Settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'Settings.c')
-rw-r--r--Settings.c56
1 files changed, 0 insertions, 56 deletions
diff --git a/Settings.c b/Settings.c
index 81d547be..104d9bb9 100644
--- a/Settings.c
+++ b/Settings.c
@@ -19,62 +19,6 @@ in the source distribution for its full text.
#define DEFAULT_DELAY 15
-/*{
-#include "Process.h"
-#include <stdbool.h>
-
-typedef struct {
- int len;
- char** names;
- int* modes;
-} MeterColumnSettings;
-
-typedef struct Settings_ {
- char* filename;
-
- MeterColumnSettings columns[2];
-
- ProcessField* fields;
- int flags;
- int colorScheme;
- int delay;
-
- int cpuCount;
- int direction;
- ProcessField sortKey;
-
- bool countCPUsFromZero;
- bool detailedCPUTime;
- bool showCPUUsage;
- bool showCPUFrequency;
- bool treeView;
- bool showProgramPath;
- bool hideThreads;
- bool shadowOtherUsers;
- bool showThreadNames;
- bool hideKernelThreads;
- bool hideUserlandThreads;
- bool highlightBaseName;
- bool highlightMegabytes;
- bool highlightThreads;
- bool updateProcessNames;
- bool accountGuestInCPUMeter;
- bool headerMargin;
- bool enableMouse;
- bool vimMode;
- #ifdef HAVE_LIBHWLOC
- bool topologyAffinity;
- #endif
-
- bool changed;
-} Settings;
-
-#ifndef Settings_cpuId
-#define Settings_cpuId(settings, cpu) ((settings)->countCPUsFromZero ? (cpu) : (cpu)+1)
-#endif
-
-}*/
-
void Settings_delete(Settings* this) {
free(this->filename);
free(this->fields);