From 18763051a2c5a5d3a39bfabc284b3d72b1f6fc9b Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Wed, 11 Nov 2020 22:15:35 +0100 Subject: Split platform dependent parts for file locks screen --- unsupported/Platform.c | 11 +++++++++++ unsupported/Platform.h | 5 +++++ 2 files changed, 16 insertions(+) (limited to 'unsupported') diff --git a/unsupported/Platform.c b/unsupported/Platform.c index 3f8cefa6..4208b73c 100644 --- a/unsupported/Platform.c +++ b/unsupported/Platform.c @@ -141,6 +141,17 @@ char* Platform_getProcessEnv(pid_t pid) { return NULL; } +char* Platform_getInodeFilename(pid_t pid, ino_t inode) { + (void)pid; + (void)inode; + return NULL; +} + +FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid) { + (void)pid; + return NULL; +} + bool Platform_getDiskIO(DiskIOData* data) { (void)data; return false; diff --git a/unsupported/Platform.h b/unsupported/Platform.h index 902b6a9b..8ca201c1 100644 --- a/unsupported/Platform.h +++ b/unsupported/Platform.h @@ -11,6 +11,7 @@ in the source distribution for its full text. #include "Action.h" #include "BatteryMeter.h" #include "DiskIOMeter.h" +#include "ProcessLocksScreen.h" #include "SignalsPanel.h" #include "UnsupportedProcess.h" @@ -48,6 +49,10 @@ bool Process_isThread(const Process* this); char* Platform_getProcessEnv(pid_t pid); +char* Platform_getInodeFilename(pid_t pid, ino_t inode); + +FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid); + bool Platform_getDiskIO(DiskIOData* data); bool Platform_getNetworkIO(unsigned long int *bytesReceived, -- cgit v1.2.3