libnick 2024.12.0
A cross-platform base for native Nickvision applications.
Loading...
Searching...
No Matches
networkstatechangedeventargs.h
Go to the documentation of this file.
1
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:
47
48 private:
49 NetworkState m_state;
50 };
51}
52
53#endif //NETWORKSTATECHANGEDEVENTARGS_H
A base class for event arguments.
Definition eventargs.h:32
An event argument for when the network state is changed.
Definition networkstatechangedeventargs.h:35
NetworkStateChangedEventArgs(NetworkState state)
Constructs a NetworkStateChangedEventArgs.
NetworkState getState() const
Gets the network state.
Definition curleasy.h:33
NetworkState
States of a network connection.
Definition networkstate.h:32