refactor: consolidate file I/O into IPlatformFileIO, delete PortableFileIO and PathHelper

This commit is contained in:
MatthewBeshay
2026-04-03 18:57:29 +11:00
parent e4d871cd2f
commit 98e23cfd4d
25 changed files with 220 additions and 379 deletions
+7 -8
View File
@@ -1,15 +1,14 @@
#include "PlatformServices.h"
#include "StdFileIO.h"
#include "../platform/sdl2/Input.h"
#include "../platform/sdl2/Profile.h"
#include "../platform/sdl2/Render.h"
#include "../platform/sdl2/Storage.h"
#include "sdl2/Input.h"
#include "sdl2/Profile.h"
#include "sdl2/Render.h"
#include "sdl2/Storage.h"
class IPlatformInput;
class IPlatformProfile;
class IPlatformRenderer;
class IPlatformStorage;
static StdFileIO s_stdFileIO;
IPlatformFileIO& PlatformFileIO = s_stdFileIO;
IPlatformInput& PlatformInput = InputManager;
IPlatformProfile& PlatformProfile = ProfileManager;
IPlatformRenderer& PlatformRender = RenderManager;