From d3c9975943df58e293359b87905d19ff1fd52061 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:15 +0200 Subject: Imported Upstream version 0.5 --- Settings.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Settings.h (limited to 'Settings.h') diff --git a/Settings.h b/Settings.h new file mode 100644 index 0000000..db35b2e --- /dev/null +++ b/Settings.h @@ -0,0 +1,36 @@ +/* Do not edit this file. It was automatically genarated. */ + +#ifndef HEADER_Settings +#define HEADER_Settings +/* +htop +(C) 2004 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" + + +typedef struct Settings_ { + char* userSettings; + ProcessList* pl; + Header* header; +} Settings; + + +Settings* Settings_new(ProcessList* pl, Header* header); + +void Settings_delete(Settings* this); + + + +bool Settings_read(Settings* this, char* fileName); + +bool Settings_write(Settings* this); + +#endif -- cgit v1.2.3