LeviLamina
Loading...
Searching...
No Matches
IContext.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/nether_net/LogSeverity.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace NetherNet { class ILanDiscovery; }
12namespace NetherNet { class RtcThreadManager; }
13namespace NetherNet { struct GlobalConfiguration; }
14// clang-format on
15
16namespace NetherNet {
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ~IContext() /*override*/ = default;
23
24 virtual ::NetherNet::RtcThreadManager const& getSignalThread() const = 0;
25
26 virtual ::NetherNet::RtcThreadManager const& getNetworkThread() const = 0;
27
28 virtual ::NetherNet::RtcThreadManager const& getWorkerThread() const = 0;
29
30 virtual ::NetherNet::ILanDiscovery& getLanDiscovery() = 0;
31
32 virtual void onSuspend() = 0;
33
34 virtual void onResume() = 0;
35
36 virtual ::NetherNet::GlobalConfiguration const& getGlobalConfig() const = 0;
37
38 virtual void _logMessage(::NetherNet::LogSeverity, char const*, char*) const = 0;
39
40 virtual void setLoggingLevel(::NetherNet::LogSeverity) = 0;
41 // NOLINTEND
42
43public:
44 // member functions
45 // NOLINTBEGIN
46 MCNAPI void logMessage(::NetherNet::LogSeverity, char const*, ...) const;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // vftables
57 // NOLINTBEGIN
58 MCNAPI static void** $vftable();
59 // NOLINTEND
60};
61
62} // namespace NetherNet
Definition EnableNonOwnerReferences.h:7
Definition IContext.h:18
MCAPI void logMessage(::NetherNet::LogSeverity, char const *,...) const
static MCAPI void ** $vftable()
Definition ILanDiscovery.h:16
Definition RtcThreadManager.h:14
Definition GlobalConfiguration.h:7