network: Forward declarations
This commit is contained in:
parent
5593bed08a
commit
5bbc3aef13
5 changed files with 11 additions and 5 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue