ladybird/Applications/SystemMonitor/ProcessMemoryMapWidget.h
Andreas Kling d6abfbdc5a LibCore: Remove ObjectPtr in favor of RefPtr
Now that CObject is fully ref-counted, just use RefPtr everywhere! :^)
2019-09-22 00:31:54 +02:00

18 lines
364 B
C++

#pragma once
#include <LibGUI/GWidget.h>
class GTableView;
class ProcessMemoryMapWidget final : public GWidget {
C_OBJECT(ProcessMemoryMapWidget);
public:
virtual ~ProcessMemoryMapWidget() override;
void set_pid(pid_t);
private:
explicit ProcessMemoryMapWidget(GWidget* parent);
RefPtr<GTableView> m_table_view;
pid_t m_pid { -1 };
};