summaryrefslogtreecommitdiff
path: root/Applications/SystemMonitor/ProcessFileDescriptorMapWidget.h
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@gmail.com>2019-08-14 14:06:43 +0300
committerAndreas Kling <awesomekling@gmail.com>2019-08-14 14:28:45 +0200
commitcbdda9106559a8fc173d4b7ce29254638f9b4e69 (patch)
tree78f66db824606e8c585119236d1e0c9b50f35bdb /Applications/SystemMonitor/ProcessFileDescriptorMapWidget.h
parentc7040cee62b76ea27e15566437b53cf223bd778a (diff)
downloadserenity-cbdda9106559a8fc173d4b7ce29254638f9b4e69.zip
ProcessManager: Rename it to SystemMonitor
This is a more appropriate name now that it does a lot more than just manage processes ^)
Diffstat (limited to 'Applications/SystemMonitor/ProcessFileDescriptorMapWidget.h')
-rw-r--r--Applications/SystemMonitor/ProcessFileDescriptorMapWidget.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/Applications/SystemMonitor/ProcessFileDescriptorMapWidget.h b/Applications/SystemMonitor/ProcessFileDescriptorMapWidget.h
new file mode 100644
index 0000000000..a858281b6d
--- /dev/null
+++ b/Applications/SystemMonitor/ProcessFileDescriptorMapWidget.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <LibGUI/GWidget.h>
+
+class GTableView;
+
+class ProcessFileDescriptorMapWidget final : public GWidget {
+ C_OBJECT(ProcessFileDescriptorMapWidget);
+public:
+ explicit ProcessFileDescriptorMapWidget(GWidget* parent);
+ virtual ~ProcessFileDescriptorMapWidget() override;
+
+ void set_pid(pid_t);
+
+private:
+ GTableView* m_table_view { nullptr };
+ pid_t m_pid { -1 };
+};