Add user for Switch

This commit is contained in:
Wojtek Figat
2022-01-30 19:41:49 +01:00
parent 7a08e035a5
commit e9fac4b504
2 changed files with 4 additions and 2 deletions

View File

@@ -224,8 +224,8 @@ class SwitchWindow;
typedef SwitchWindow Window;
class SwitchNetwork;
typedef SwitchNetwork Network;
class UserBase;
typedef UserBase User;
class SwitchUser;
typedef SwitchUser User;
#elif PLATFORM_MAC

View File

@@ -4,6 +4,8 @@
#if PLATFORM_XBOX_ONE || PLATFORM_XBOX_SCARLETT
#include "GDK/GDKUser.h"
#elif PLATFORM_SWITCH
#include "Platforms/Switch/Engine/Platform/SwitchUser.h"
#elif PLATFORM_PS4
#include "Platforms/PS4/Engine/Platform/PS4User.h"
#elif PLATFORM_PS5