mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 08:34:58 +00:00
22 lines
468 B
C++
22 lines
468 B
C++
#pragma once
|
|
|
|
#include <LibCore/ObjectPtr.h>
|
|
#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 };
|
|
ObjectPtr<GTextEditor> m_stacks_editor;
|
|
ObjectPtr<CTimer> m_timer;
|
|
};
|