mirror of
https://github.com/RGBCube/serenity
synced 2025-07-08 14:57:35 +00:00
ProcessManager: Rename it to SystemMonitor
This is a more appropriate name now that it does a lot more than just manage processes ^)
This commit is contained in:
parent
c7040cee62
commit
cbdda91065
23 changed files with 9 additions and 9 deletions
23
Applications/SystemMonitor/ProcessTableView.h
Normal file
23
Applications/SystemMonitor/ProcessTableView.h
Normal file
|
@ -0,0 +1,23 @@
|
|||
#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;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue