/* * Copyright (c) 2018-2020, Andreas Kling * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include class NetworkStatisticsWidget final : public GUI::LazyWidget { C_OBJECT(NetworkStatisticsWidget) public: virtual ~NetworkStatisticsWidget() override; private: NetworkStatisticsWidget(); void update_models(); RefPtr m_adapter_table_view; RefPtr m_tcp_socket_table_view; RefPtr m_udp_socket_table_view; RefPtr m_adapter_model; RefPtr m_tcp_socket_model; RefPtr m_udp_socket_model; RefPtr m_update_timer; };