mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-05 22:22:24 +00:00
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.
11 lines
251 B
C++
11 lines
251 B
C++
#include "StubLeaderboard.h"
|
|
|
|
#include "platform/leaderboard/leaderboard.h"
|
|
|
|
namespace platform_internal {
|
|
IPlatformLeaderboard& PlatformLeaderboard_get() {
|
|
static StubLeaderboard instance;
|
|
return instance;
|
|
}
|
|
} // namespace platform_internal
|