summaryrefslogtreecommitdiff
path: root/Applications/SystemMonitor/ProcessFileDescriptorMapWidget.h
blob: bc5f090b121239906d359a75e3889a01adfbcee1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

#include <LibGUI/GWidget.h>

class GTableView;

class ProcessFileDescriptorMapWidget final : public GWidget {
    C_OBJECT(ProcessFileDescriptorMapWidget);
public:
    virtual ~ProcessFileDescriptorMapWidget() override;

    void set_pid(pid_t);

private:
    explicit ProcessFileDescriptorMapWidget(GWidget* parent);

    RefPtr<GTableView> m_table_view;
    pid_t m_pid { -1 };
};