aboutsummaryrefslogtreecommitdiffstats
path: root/Settings.h
diff options
context:
space:
mode:
authorDiogo Ferreira <defer@cyngn.com>2015-01-14 11:13:52 +0000
committerDiogo Ferreira <defer@cyngn.com>2015-01-14 11:38:57 +0000
commit841159c272ac08b1cd5bdef5167a8ce11383fbb5 (patch)
treed7272ef150e58eaa1acc9ab62cf9e6c0aecbc2da /Settings.h
parente1a8535012ab86d3e926bebfb7731dab1eb7320a (diff)
downloadandroid_external_htop-841159c272ac08b1cd5bdef5167a8ce11383fbb5.tar.gz
android_external_htop-841159c272ac08b1cd5bdef5167a8ce11383fbb5.tar.bz2
android_external_htop-841159c272ac08b1cd5bdef5167a8ce11383fbb5.zip
Change-Id: I416c44803b3a79c2fd752e342ea113875fa533e0
Diffstat (limited to 'Settings.h')
-rw-r--r--Settings.h15
1 files changed, 6 insertions, 9 deletions
diff --git a/Settings.h b/Settings.h
index 68d84ec..28fe552 100644
--- a/Settings.h
+++ b/Settings.h
@@ -4,27 +4,24 @@
#define HEADER_Settings
/*
htop - Settings.h
-(C) 2004-2010 Hisham H. Muhammad
+(C) 2004-2011 Hisham H. Muhammad
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"
-
#define DEFAULT_DELAY 15
+#include "ProcessList.h"
+#include "Header.h"
+#include <stdbool.h>
typedef struct Settings_ {
char* userSettings;
ProcessList* pl;
Header* header;
int colorScheme;
- bool changed;
int delay;
+ bool changed;
} Settings;
@@ -32,6 +29,6 @@ void Settings_delete(Settings* this);
bool Settings_write(Settings* this);
-Settings* Settings_new(ProcessList* pl, Header* header);
+Settings* Settings_new(ProcessList* pl, Header* header, int cpuCount);
#endif