blob: 9b0c6ac8f0331a6d2f75318680c329cd1a6525ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#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 };
};
|