mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-04 23:30:20 +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
Notes:
sideshowbarker
2024-07-19 12:41:14 +09:00
Author: https://github.com/bugaevc
Commit: cbdda91065
Pull-request: https://github.com/SerenityOS/serenity/pull/453
Reviewed-by: https://github.com/awesomekling
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