mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 08:34:58 +00:00
20 lines
478 B
C++
20 lines
478 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();
|
|
|
|
ObjectPtr<GTableView> m_adapter_table_view;
|
|
ObjectPtr<GTableView> m_socket_table_view;
|
|
ObjectPtr<CTimer> m_update_timer;
|
|
};
|