serenity/Applications/ProcessManager/ProcessTableView.h
Andreas Kling 25bb7a59ac ProcessManager: Add CPU/memory usage graphs in a separate tab.
Finally we get some real use for the new GTabWidget. :^)
2019-05-06 03:21:34 +02:00

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;
};