1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:48:12 +00:00
serenity/Applications/SystemMonitor/NetworkStatisticsWidget.h
2019-09-20 15:20:10 +02:00

20 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;
};