summaryrefslogtreecommitdiff
path: root/Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.h
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2022-03-24 13:30:52 +0100
committerAndreas Kling <kling@serenityos.org>2022-04-03 12:21:05 +0200
commit7af87e8e6ba5fee7fe486cf97f9a5e8d40b3d483 (patch)
treee27d982658bbcd1212f92e3f4aec3f15a1cdf9be /Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.h
parent452bbcaa84b364cb76e99c46950ad2bedf0ca7be (diff)
downloadserenity-7af87e8e6ba5fee7fe486cf97f9a5e8d40b3d483.zip
SystemMonitor: Move process window to GML
Extra stuff done in this commit to facilitate the above (if you want to really push my commit count, ask for more atomicisation): - Register a bunch of widgets that are used in the process window. - Allow setting the pid after the fact for the process state widget.
Diffstat (limited to 'Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.h')
-rw-r--r--Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.h b/Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.h
index b710a0b89a..0b97d0d819 100644
--- a/Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.h
+++ b/Userland/Applications/SystemMonitor/ProcessMemoryMapWidget.h
@@ -9,6 +9,8 @@
#include <LibGUI/Widget.h>
+namespace SystemMonitor {
+
class ProcessMemoryMapWidget final : public GUI::Widget {
C_OBJECT(ProcessMemoryMapWidget);
@@ -25,3 +27,5 @@ private:
pid_t m_pid { -1 };
RefPtr<Core::Timer> m_timer;
};
+
+}