summaryrefslogtreecommitdiff
path: root/Userland/Applications/SystemMonitor/ProcessStateWidget.h
blob: 0c90b5996a3c1e1d5ac43f83a89fdcbe91a7c3ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (c) 2021, Andreas Kling <kling@serenityos.org>
 * Copyright (c) 2022, the SerenityOS developers.
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibGUI/Widget.h>

namespace SystemMonitor {

class ProcessStateWidget final : public GUI::Widget {
    C_OBJECT(ProcessStateWidget);

public:
    virtual ~ProcessStateWidget() override = default;

    void set_pid(pid_t);

private:
    ProcessStateWidget();
    RefPtr<GUI::TableView> m_table_view;
};

}