Add Network impl for Switch

This commit is contained in:
Wojtek Figat
2021-05-19 10:14:19 +02:00
parent 3e3b0e7951
commit 3363f6ac0d
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
#elif PLATFORM_ANDROID
#include "Unix/UnixNetwork.h"
#elif PLATFORM_SWITCH
#include "Base/NetworkBase.h"
#include "Platforms/Switch/Engine/Platform/SwitchNetwork.h"
#else
#error Missing Network implementation!
#endif

View File

@@ -160,8 +160,8 @@ class SwitchThread;
typedef SwitchThread Thread;
class SwitchWindow;
typedef SwitchWindow Window;
class NetworkBase;
typedef NetworkBase Network;
class SwitchNetwork;
typedef SwitchNetwork Network;
#else