mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
21 lines
426 B
C++
21 lines
426 B
C++
#pragma once
|
|
|
|
#include <LibGUI/GWidget.h>
|
|
|
|
class CTimer;
|
|
class GTableView;
|
|
|
|
class ProcessMemoryMapWidget final : public GWidget {
|
|
C_OBJECT(ProcessMemoryMapWidget);
|
|
public:
|
|
virtual ~ProcessMemoryMapWidget() override;
|
|
|
|
void set_pid(pid_t);
|
|
void refresh();
|
|
|
|
private:
|
|
explicit ProcessMemoryMapWidget(GWidget* parent);
|
|
RefPtr<GTableView> m_table_view;
|
|
pid_t m_pid { -1 };
|
|
RefPtr<CTimer> m_timer;
|
|
};
|