From bfd86a60cc1e9edd94c219e6e2018e00a672b7ff Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Thu, 1 Dec 2011 12:31:57 +0000 Subject: Keep panel structure up-to-date as process list changes when headers are updated during the screen manager. Hopefully closes #3444533. --- ProcessList.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ProcessList.h') 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 #include @@ -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 -- cgit v1.2.3