mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00

This is a more appropriate name now that it does a lot more than just manage processes ^)
21 lines
441 B
C++
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 };
|
|
};
|