chore: add TODO for std::function migration in platform interfaces

This commit is contained in:
MatthewBeshay 2026-03-31 20:02:37 +11:00
parent 940b214539
commit f7241f8064
3 changed files with 6 additions and 0 deletions

View file

@ -2,6 +2,8 @@
#include "PlatformTypes.h"
// TODO: migrate C-style callbacks (int (*Func)(void*, ...), void* lpParam)
// to std::function or std::function_ref (C++26).
class IPlatformInput {
public:
enum EKeyboardMode {

View file

@ -8,6 +8,8 @@
class CXuiStringTable;
// TODO: migrate C-style callbacks (int (*Func)(void*, ...), void* lpParam)
// to std::function or std::function_ref (C++26).
class IPlatformProfile {
public:
struct PROFILESETTINGS {

View file

@ -13,6 +13,8 @@ struct SAVE_DETAILS;
using PSAVE_DETAILS = SAVE_DETAILS*;
class C4JStringTable;
// TODO: migrate C-style callbacks (int (*Func)(void*, ...), void* lpParam)
// to std::function or std::function_ref (C++26).
class IPlatformStorage {
public:
// Enums live here so both the interface consumer and the concrete