1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 11:35:07 +00:00
serenity/Applications/SystemMonitor/ProcessTableView.h
Sergey Bugaev cbdda91065 ProcessManager: Rename it to SystemMonitor
This is a more appropriate name now that it does a lot
more than just manage processes ^)
2019-08-14 14:28:45 +02:00

23 lines
473 B
C++

#pragma once
#include <AK/Function.h>
#include <LibGUI/GTableView.h>
#include <unistd.h>
class GraphWidget;
class ProcessModel;
class ProcessTableView final : public GTableView {
public:
ProcessTableView(GraphWidget&, GWidget* parent);
virtual ~ProcessTableView() override;
pid_t selected_pid() const;
void refresh();
Function<void(pid_t)> on_process_selected;
private:
virtual void model_notification(const GModelNotification&) override;
};