4jcraft/targets/platform/game/game.h
MatthewBeshay 2a3b891be8 refactor: relocate IPlatformNetwork/Leaderboard/Game interfaces to platform/
Pulls the three remaining platform-shaped interfaces out of app/common/
and into platform/network/, platform/leaderboard/ and platform/game/,
each with a function accessor + true no-op stub backend matching the
existing platform/profile/ template. Drops the duplicate
PlatformNetworkManagerInterface.h that was a stale copy of the same
type. Existing app-side singletons (LeaderboardManager,
LinuxLeaderboardManager, IPlatformNetworkStub, LinuxGame) keep working
unchanged - the structural fix is just that the interface they depend
on now lives in platform/ where it belongs.
2026-04-09 15:42:23 +10:00

12 lines
293 B
C++

#pragma once
#include "IPlatformGame.h"
// Function accessor backed by a function-local static (Meyers singleton).
// Same shape as platform/profile/profile.h.
namespace platform_internal {
IPlatformGame& PlatformGame_get();
}
#define PlatformGame (::platform_internal::PlatformGame_get())