diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-07-17 21:36:03 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2023-07-17 21:36:03 +0200 |
commit | 5bbc3aef1368cc1fcc59304013f0999b0827115b (patch) | |
tree | a78a09ae6dfbd779536059f8806077cb2a710b76 /src/core/internal_network | |
parent | Merge pull request #10934 from abouvier/cmake-vma (diff) | |
download | yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar.gz yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar.bz2 yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar.lz yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar.xz yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.tar.zst yuzu-5bbc3aef1368cc1fcc59304013f0999b0827115b.zip |
Diffstat (limited to 'src/core/internal_network')
-rw-r--r-- | src/core/internal_network/socket_proxy.cpp | 1 | ||||
-rw-r--r-- | src/core/internal_network/socket_proxy.h | 4 | ||||
-rw-r--r-- | src/core/internal_network/sockets.h | 3 |
3 files changed, 6 insertions, 2 deletions
diff --git a/src/core/internal_network/socket_proxy.cpp b/src/core/internal_network/socket_proxy.cpp index 44e9e3093..ce0dee970 100644 --- a/src/core/internal_network/socket_proxy.cpp +++ b/src/core/internal_network/socket_proxy.cpp @@ -10,6 +10,7 @@ #include "core/internal_network/network.h" #include "core/internal_network/network_interface.h" #include "core/internal_network/socket_proxy.h" +#include "network/network.h" #if YUZU_UNIX #include <sys/socket.h> diff --git a/src/core/internal_network/socket_proxy.h b/src/core/internal_network/socket_proxy.h index e12c413d1..70500cf4a 100644 --- a/src/core/internal_network/socket_proxy.h +++ b/src/core/internal_network/socket_proxy.h @@ -10,10 +10,12 @@ #include "common/common_funcs.h" #include "core/internal_network/sockets.h" -#include "network/network.h" +#include "network/room_member.h" namespace Network { +class RoomNetwork; + class ProxySocket : public SocketBase { public: explicit ProxySocket(RoomNetwork& room_network_) noexcept; diff --git a/src/core/internal_network/sockets.h b/src/core/internal_network/sockets.h index 46a53ef79..4ba51f62c 100644 --- a/src/core/internal_network/sockets.h +++ b/src/core/internal_network/sockets.h @@ -15,12 +15,13 @@ #include "common/common_types.h" #include "core/internal_network/network.h" -#include "network/network.h" // TODO: C++20 Replace std::vector usages with std::span namespace Network { +struct ProxyPacket; + class SocketBase { public: #ifdef YUZU_UNIX |