From e2b58f0ab81b2aafeb8c29a69abad7829fa21ab3 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Mon, 11 Apr 2016 13:00:30 +0200 Subject: Imported Upstream version 1.0.1 --- ProcessList.h | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) (limited to 'ProcessList.h') diff --git a/ProcessList.h b/ProcessList.h index 641a08c..d7a5ef9 100644 --- a/ProcessList.h +++ b/ProcessList.h @@ -9,32 +9,12 @@ Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ -#ifndef CONFIG_H -#define CONFIG_H -#include "config.h" -#endif - -#include "Process.h" #include "Vector.h" -#include "UsersTable.h" #include "Hashtable.h" -#include "String.h" - +#include "UsersTable.h" +#include "Panel.h" +#include "Process.h" #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include "debug.h" -#include - #ifndef PROCDIR #define PROCDIR "/proc" @@ -111,6 +91,13 @@ typedef struct ProcessList_ { Hashtable* processTable; UsersTable* usersTable; + Panel* panel; + int following; + bool userOnly; + uid_t userId; + bool filtering; + const char* incFilter; + int cpuCount; int totalTasks; int userlandThreads; @@ -161,6 +148,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 +183,6 @@ ProcessField ProcessList_keyAt(ProcessList* this, int at); void ProcessList_expandTree(ProcessList* this); +void ProcessList_rebuildPanel(ProcessList* this, bool flags, int following, bool userOnly, uid_t userId, bool filtering, const char* incFilter); + #endif -- cgit v1.2.3