diff --git a/minecraft/platform/IPlatformInput.h b/minecraft/platform/IPlatformInput.h index 3e81397ae..183e3e326 100644 --- a/minecraft/platform/IPlatformInput.h +++ b/minecraft/platform/IPlatformInput.h @@ -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 { diff --git a/minecraft/platform/IPlatformProfile.h b/minecraft/platform/IPlatformProfile.h index 1141dcebf..b49ac08a5 100644 --- a/minecraft/platform/IPlatformProfile.h +++ b/minecraft/platform/IPlatformProfile.h @@ -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 { diff --git a/minecraft/platform/IPlatformStorage.h b/minecraft/platform/IPlatformStorage.h index 53c518b29..0c706af04 100644 --- a/minecraft/platform/IPlatformStorage.h +++ b/minecraft/platform/IPlatformStorage.h @@ -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