blob: 6cf85e5797c7e1f5d0c99ec107d1d5a5f70d4b01 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
#include <AK/Function.h>
#include <LibGUI/GTableView.h>
#include <unistd.h>
class GraphWidget;
class ProcessModel;
class ProcessTableView final : public GTableView {
C_OBJECT(ProcessTableView)
public:
virtual ~ProcessTableView() override;
pid_t selected_pid() const;
void refresh();
Function<void(pid_t)> on_process_selected;
private:
explicit ProcessTableView(GWidget* parent = nullptr);
};
|