summaryrefslogtreecommitdiffstats
path: root/Process.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2015-02-20 14:52:10 -0200
committerHisham Muhammad <hisham@gobolinux.org>2015-02-23 01:13:40 -0300
commit9780c312f40633a2ce23300cc76faf64e07a87ed (patch)
tree1d04f7070e5183f6f9aad77c91d4d81025868a24 /Process.h
parentcce2202a1ffdce2d6d775e3d0d5ced092d823598 (diff)
Fix allocation of processes. Closes #166.
Conflicts: Process.c Process.h ProcessList.c ScreenManager.c linux/LinuxProcessList.c
Diffstat (limited to 'Process.h')
-rw-r--r--Process.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Process.h b/Process.h
index 6bd40686..f4d5a463 100644
--- a/Process.h
+++ b/Process.h
@@ -24,6 +24,8 @@ in the source distribution for its full text.
#include <sys/types.h>
+typedef struct Settings_ Settings;
+
#define PROCESS_FLAG_IO 1
#define PROCESS_FLAG_IOPRIO 2
#define PROCESS_FLAG_OPENVZ 4
@@ -189,11 +191,11 @@ void Process_setupColumnWidths();
#define ONE_DECIMAL_M (ONE_DECIMAL_K * ONE_DECIMAL_K)
#define ONE_DECIMAL_G (ONE_DECIMAL_M * ONE_DECIMAL_K)
-void Process_delete(Object* cast);
+void Process_done(Process* this);
extern ObjectClass Process_class;
-Process* Process_new(struct ProcessList_ *pl);
+void Process_init(Process* this, struct Settings_* settings, struct ProcessList_* pl);
void Process_toggleTag(Process* this);

© 2014-2024 Faster IT GmbH | imprint | privacy policy