From 72235d8e098d9d79029dca65122605741e1aafad Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Tue, 2 May 2023 16:56:18 +1000 Subject: Adapt platform code for the new Machine base class Move host-centric data to new derived Machine classes, separate from process-list-centric data. --- ProcessList.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ProcessList.h') diff --git a/ProcessList.h b/ProcessList.h index d09cc072..0f0f7d51 100644 --- a/ProcessList.h +++ b/ProcessList.h @@ -49,8 +49,8 @@ typedef struct ProcessList_ { /* Implemented by platforms */ ProcessList* ProcessList_new(Machine* host, Hashtable* pidMatchList); -void ProcessList_delete(ProcessList* pl); -void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate); +void ProcessList_delete(ProcessList* this); +void ProcessList_goThroughEntries(ProcessList* this); void ProcessList_init(ProcessList* this, const ObjectClass* klass, Machine* host, Hashtable* pidMatchList); @@ -74,7 +74,7 @@ void ProcessList_rebuildPanel(ProcessList* this); Process* ProcessList_getProcess(ProcessList* this, pid_t pid, bool* preExisting, Process_New constructor); -void ProcessList_scan(ProcessList* this, bool pauseProcessUpdate); +void ProcessList_scan(ProcessList* this); static inline Process* ProcessList_findProcess(ProcessList* this, pid_t pid) { return (Process*) Hashtable_get(this->processTable, pid); -- cgit v1.2.3