1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 16:25:06 +00:00
serenity/Applications/ProcessManager/ProcessTableView.h
Andreas Kling 37388b311f ProcessManager: Show some basic system memory stats below the process table.
This really improves the feeling of "system overview" :^)
2019-03-10 12:13:22 +01:00

22 lines
451 B
C++

#pragma once
#include <LibGUI/GTableView.h>
#include <AK/Function.h>
#include <unistd.h>
class ProcessTableModel;
class ProcessTableView final : public GTableView {
public:
explicit ProcessTableView(GWidget* parent);
virtual ~ProcessTableView() override;
pid_t selected_pid() const;
protected:
virtual void model_notification(const GModelNotification&) override;
private:
virtual void timer_event(GTimerEvent&) override;
};