blob: bd0fe615b468246cb887b5366c1868342144d2f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#pragma once
#include <LibGUI/GTableView.h>
#include <AK/Function.h>
#include <unistd.h>
class ProcessTableModel;
class ProcessTableView final : public GTableView {
public:
explicit ProcessTableView(GWidget* parent);
virtual ~ProcessTableView() override;
pid_t selected_pid() const;
Function<void(String)> on_status_message;
protected:
virtual void model_notification(const GModelNotification&) override;
private:
virtual void timer_event(GTimerEvent&) override;
ProcessTableModel& model();
const ProcessTableModel& model() const;
};
|