summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2011-12-01 12:31:57 +0000
committerHisham Muhammad <hisham@gobolinux.org>2011-12-01 12:31:57 +0000
commitbfd86a60cc1e9edd94c219e6e2018e00a672b7ff (patch)
tree649b7f7163e834bf2e7f40a6e0b4f94413408095 /ProcessList.h
parentdfad0afb36df9ac104490454c6472625e3ecbe0c (diff)
Keep panel structure up-to-date as process list changes when headers are updated during the screen manager. Hopefully closes #3444533.
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ProcessList.h b/ProcessList.h
index 641a08c6..702f966d 100644
--- a/ProcessList.h
+++ b/ProcessList.h
@@ -19,6 +19,7 @@ in the source distribution for its full text.
#include "UsersTable.h"
#include "Hashtable.h"
#include "String.h"
+#include "Panel.h"
#include <sys/types.h>
#include <sys/stat.h>
@@ -111,6 +112,13 @@ typedef struct ProcessList_ {
Hashtable* processTable;
UsersTable* usersTable;
+ Panel* panel;
+ bool follow;
+ bool userOnly;
+ uid_t userId;
+ bool filtering;
+ const char* incFilter;
+
int cpuCount;
int totalTasks;
int userlandThreads;
@@ -161,6 +169,8 @@ ProcessList* ProcessList_new(UsersTable* usersTable);
void ProcessList_delete(ProcessList* this);
+void ProcessList_setPanel(ProcessList* this, Panel* panel);
+
void ProcessList_invertSortOrder(ProcessList* this);
void ProcessList_printHeader(ProcessList* this, RichString* header);
@@ -194,4 +204,6 @@ ProcessField ProcessList_keyAt(ProcessList* this, int at);
void ProcessList_expandTree(ProcessList* this);
+void ProcessList_rebuildPanel(ProcessList* this, bool flags, bool follow, bool userOnly, uid_t userId, bool filtering, const char* incFilter);
+
#endif

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