refactor: wire IPlatformLeaderboard and IPlatformNetwork into PlatformServices

This commit is contained in:
MatthewBeshay
2026-04-03 18:57:29 +11:00
parent d2d5cd6536
commit f2a6d29fa1
+5 -8
View File
@@ -1,18 +1,15 @@
#pragma once #pragma once
#include "IPlatformInput.h" #include "IPlatformInput.h"
#include "IPlatformLeaderboard.h"
#include "IPlatformNetwork.h"
#include "IPlatformProfile.h" #include "IPlatformProfile.h"
#include "IPlatformRenderer.h" #include "IPlatformRenderer.h"
#include "IPlatformStorage.h" #include "IPlatformStorage.h"
class IPlatformInput; // Interface references to platform services. Game code uses these
class IPlatformProfile; // instead of concrete globals directly. Bindings are established
class IPlatformRenderer; // by the app layer at startup.
class IPlatformStorage;
// Interface references to platform services. World code uses these
// instead of the concrete 4J globals directly. The bindings are
// established by the app layer at startup.
extern IPlatformInput& PlatformInput; extern IPlatformInput& PlatformInput;
extern IPlatformProfile& PlatformProfile; extern IPlatformProfile& PlatformProfile;