1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00
serenity/Applications/SystemMonitor/ProcessStacksWidget.h
Sergey Bugaev cbdda91065 ProcessManager: Rename it to SystemMonitor
This is a more appropriate name now that it does a lot
more than just manage processes ^)
2019-08-14 14:28:45 +02:00

21 lines
441 B
C++

#pragma once
#include <LibGUI/GTextEditor.h>
#include <LibGUI/GWidget.h>
class CTimer;
class ProcessStacksWidget final : public GWidget {
C_OBJECT(ProcessStacksWidget)
public:
explicit ProcessStacksWidget(GWidget* parent);
virtual ~ProcessStacksWidget() override;
void set_pid(pid_t);
void refresh();
private:
pid_t m_pid { -1 };
GTextEditor* m_stacks_editor { nullptr };
CTimer* m_timer { nullptr };
};