Files
ladybird/Applications/SystemMonitor/NetworkStatisticsWidget.h
2019-09-20 15:20:10 +02:00

21 lines
482 B
C++

#pragma once
#include <LibCore/CTimer.h>
#include <LibGUI/GWidget.h>
class GTableView;
class NetworkStatisticsWidget final : public GWidget {
C_OBJECT(NetworkStatisticsWidget)
public:
explicit NetworkStatisticsWidget(GWidget* parent = nullptr);
virtual ~NetworkStatisticsWidget() override;
private:
void update_models();
GTableView* m_adapter_table_view { nullptr };
GTableView* m_socket_table_view { nullptr };
ObjectPtr<CTimer> m_update_timer;
};