Settings.h 672 Bytes
Newer Older
1
/* Do not edit this file. It was automatically generated. */
Hisham Muhammad's avatar
Hisham Muhammad committed
2
3
4
5

#ifndef HEADER_Settings
#define HEADER_Settings
/*
Hisham Muhammad's avatar
Hisham Muhammad committed
6
htop - Settings.h
Hisham Muhammad's avatar
Hisham Muhammad committed
7
(C) 2004-2010 Hisham H. Muhammad
Hisham Muhammad's avatar
Hisham Muhammad committed
8
9
10
11
12
13
14
15
16
17
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/

#include "String.h"
#include "ProcessList.h"
#include "Header.h"

#include "debug.h"

18
19
#define DEFAULT_DELAY 15

Hisham Muhammad's avatar
Hisham Muhammad committed
20
21
22
23
24
25
26

typedef struct Settings_ {
   char* userSettings;
   ProcessList* pl;
   Header* header;
   int colorScheme;
   bool changed;
27
   int delay;
Hisham Muhammad's avatar
Hisham Muhammad committed
28
29
30
31
32
33
34
} Settings;


void Settings_delete(Settings* this);

bool Settings_write(Settings* this);

35
36
Settings* Settings_new(ProcessList* pl, Header* header);

Hisham Muhammad's avatar
Hisham Muhammad committed
37
#endif