mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-24 18:32:28 -05:00
25bb7a59ac
Finally we get some real use for the new GTabWidget. :^)
22 lines
426 B
C++
22 lines
426 B
C++
#pragma once
|
|
|
|
#include <LibGUI/GTableView.h>
|
|
#include <AK/Function.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();
|
|
|
|
private:
|
|
virtual void model_notification(const GModelNotification&) override;
|
|
};
|
|
|