diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2011-12-01 12:31:57 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2011-12-01 12:31:57 +0000 |
commit | bfd86a60cc1e9edd94c219e6e2018e00a672b7ff (patch) | |
tree | 649b7f7163e834bf2e7f40a6e0b4f94413408095 /ProcessList.h | |
parent | dfad0afb36df9ac104490454c6472625e3ecbe0c (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.h | 12 |
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 |