diff --git a/lsteamclient/steamclient_manual_152.cpp b/lsteamclient/steamclient_manual_152.cpp index 70912255..5dbd9863 100644 --- a/lsteamclient/steamclient_manual_152.cpp +++ b/lsteamclient/steamclient_manual_152.cpp @@ -24,7 +24,6 @@ extern "C" { #include "cb_converters.h" /***** manual fn wrapper for ISteamInput::EnableActionEventCallbacks *****/ -typedef void (*CDECL win_SteamInputActionEventCallbackPointer)(SteamInputActionEvent_t *); win_SteamInputActionEventCallbackPointer win_EnableActionEventCallbacks; void lin_SteamInputActionEventCallbackPointer(SteamInputActionEvent_t *dat) diff --git a/lsteamclient/steamclient_private.h b/lsteamclient/steamclient_private.h index 2f9a0edb..ece5f456 100644 --- a/lsteamclient/steamclient_private.h +++ b/lsteamclient/steamclient_private.h @@ -4,6 +4,8 @@ extern "C" { #endif +#include "windef.h" + typedef struct __winISteamClient winISteamClient; typedef struct __winISteamUser winISteamUser; typedef struct __winISteamGameServer winISteamGameServer; @@ -38,6 +40,10 @@ typedef struct __winISteamRemotePlay winISteamRemotePlay; typedef struct __winISteamNetworkingFakeUDPPort winISteamNetworkingFakeUDPPort; typedef struct __winX winX; +struct SteamInputActionEvent_t; +typedef void (*CDECL win_SteamInputActionEventCallbackPointer)(SteamInputActionEvent_t *); +void lin_SteamInputActionEventCallbackPointer(SteamInputActionEvent_t *dat); + void *create_win_interface(const char *name, void *linux_side); unsigned int steamclient_unix_path_to_dos_path(bool api_result, const char *src, char *dst, uint32 dst_bytes, int is_url); bool steamclient_dos_path_to_unix_path(const char *src, char *dst, int is_url);