summaryrefslogtreecommitdiff
path: root/Userland/Applications/SystemMonitor/InterruptsWidget.h
blob: 638d502fe6329ece9cfed76be8293e8e284828ee (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
/*
 * Copyright (c) 2020, the SerenityOS developers.
 *
 * SPDX-License-Identifier: BSD-2-Clause
 */

#pragma once

#include <LibCore/Timer.h>
#include <LibGUI/LazyWidget.h>

class InterruptsWidget final : public GUI::LazyWidget {
    C_OBJECT(InterruptsWidget)
public:
    virtual ~InterruptsWidget() override;

private:
    InterruptsWidget();
    void update_model();

    RefPtr<GUI::TableView> m_interrupt_table_view;
    RefPtr<GUI::JsonArrayModel> m_interrupt_model;
    RefPtr<Core::Timer> m_update_timer;
};