libnick 2025.9.1
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
networkstatechangedeventargs.h
Go to the documentation of this file.
1
22
23#ifndef NETWORKSTATECHANGEDEVENTARGS_H
24#define NETWORKSTATECHANGEDEVENTARGS_H
25
26#include "networkstate.h"
27#include "events/eventargs.h"
28
29namespace Nickvision::Network
30{
35 {
36 public:
46 NetworkState getState() const noexcept;
47
48 private:
49 NetworkState m_state;
50 };
51}
52
53#endif //NETWORKSTATECHANGEDEVENTARGS_H
A base class for event arguments.
Definition eventargs.h:32
NetworkState getState() const noexcept
Gets the network state.
NetworkStateChangedEventArgs(NetworkState state) noexcept
Constructs a NetworkStateChangedEventArgs.
Definition ipv4address.h:30
NetworkState
States of a network connection.
Definition networkstate.h:32