mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-06-02 06:13:01 +00:00
chore: add TODO for std::function migration in platform interfaces
This commit is contained in:
parent
940b214539
commit
f7241f8064
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue