2006-04-10 20:40:38 +00:00
|
|
|
/* Do not edit this file. It was automatically generated. */
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
#ifndef HEADER_Settings
|
|
|
|
#define HEADER_Settings
|
|
|
|
/*
|
2006-06-06 20:28:42 +00:00
|
|
|
htop - Settings.h
|
2011-05-26 16:35:07 +00:00
|
|
|
(C) 2004-2011 Hisham H. Muhammad
|
2006-03-04 18:16:49 +00:00
|
|
|
Released under the GNU GPL, see the COPYING file
|
|
|
|
in the source distribution for its full text.
|
|
|
|
*/
|
|
|
|
|
2006-04-10 20:40:38 +00:00
|
|
|
#define DEFAULT_DELAY 15
|
|
|
|
|
2011-12-26 21:35:57 +00:00
|
|
|
#include "ProcessList.h"
|
|
|
|
#include "Header.h"
|
|
|
|
#include <stdbool.h>
|
2006-03-04 18:16:49 +00:00
|
|
|
|
|
|
|
typedef struct Settings_ {
|
|
|
|
char* userSettings;
|
|
|
|
ProcessList* pl;
|
|
|
|
Header* header;
|
|
|
|
int colorScheme;
|
2006-04-10 20:40:38 +00:00
|
|
|
int delay;
|
2014-02-27 19:35:22 +00:00
|
|
|
bool changed;
|
2006-03-04 18:16:49 +00:00
|
|
|
} Settings;
|
|
|
|
|
|
|
|
|
|
|
|
void Settings_delete(Settings* this);
|
|
|
|
|
|
|
|
bool Settings_write(Settings* this);
|
|
|
|
|
2011-11-18 06:08:56 +00:00
|
|
|
Settings* Settings_new(ProcessList* pl, Header* header, int cpuCount);
|
2008-03-09 08:58:38 +00:00
|
|
|
|
2006-03-04 18:16:49 +00:00
|
|
|
#endif
|