LeviLamina
Loading...
Searching...
No Matches
NetworkManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/rtc/DefaultLocalAddressProvider.h"
7#include "mc/external/rtc/MdnsResponderProvider.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace rtc { class IPAddress; }
12namespace rtc { class Network; }
13namespace rtc { class NetworkMask; }
14namespace webrtc { class MdnsResponderInterface; }
15// clang-format on
16
17namespace rtc {
18
20public:
21 // NetworkManager inner types declare
22 // clang-format off
23 struct Stats;
24 // clang-format on
25
26 // NetworkManager inner types define
27 enum class EnumerationPermission : int {
28 Allowed = 0,
29 Blocked = 1,
30 };
31
32 struct Stats {
33 public:
34 // member variables
35 // NOLINTBEGIN
38 // NOLINTEND
39
40 public:
41 // prevent constructor by default
42 Stats& operator=(Stats const&);
43 Stats(Stats const&);
44 Stats();
45 };
46
47public:
48 // member variables
49 // NOLINTBEGIN
52 // NOLINTEND
53
54public:
55 // prevent constructor by default
56 NetworkManager& operator=(NetworkManager const&);
59
60public:
61 // virtual functions
62 // NOLINTBEGIN
63 // vIndex: 2
64 virtual void Initialize();
65
66 // vIndex: 3
67 virtual void StartUpdating() = 0;
68
69 // vIndex: 4
70 virtual void StopUpdating() = 0;
71
72 // vIndex: 5
73 virtual ::std::vector<::rtc::Network const*> GetNetworks() const = 0;
74
75 // vIndex: 6
76 virtual ::rtc::NetworkManager::EnumerationPermission enumeration_permission() const;
77
78 // vIndex: 7
79 virtual ::std::vector<::rtc::Network const*> GetAnyAddressNetworks() = 0;
80
81 // vIndex: 8
82 virtual void DumpNetworks();
83
84 // vIndex: 1
85 virtual bool GetDefaultLocalAddress(int, ::rtc::IPAddress*) const /*override*/;
86
87 // vIndex: 1
88 virtual ::webrtc::MdnsResponderInterface* GetMdnsResponder() const /*override*/;
89
90 // vIndex: 9
91 virtual void set_vpn_list(::std::vector<::rtc::NetworkMask> const&);
92
93 // vIndex: 0
94 virtual ~NetworkManager() /*override*/ = default;
95 // NOLINTEND
96
97public:
98 // destructor thunk
99 // NOLINTBEGIN
100
101 // NOLINTEND
102
103public:
104 // virtual function thunks
105 // NOLINTBEGIN
106
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCAPI static void** $vftableForMdnsResponderProvider();
113
114 MCAPI static void** $vftableForDefaultLocalAddressProvider();
115 // NOLINTEND
116};
117
118} // namespace rtc
Definition DefaultLocalAddressProvider.h:12
Definition IPAddress.h:7
Definition MdnsResponderProvider.h:12
Definition NetworkManager.h:19
Definition NetworkMask.h:7
STL namespace.
Definition Alias.h:14
Definition NetworkManager.h:32