lsteamclient: Generate C++ interfaces in unix_private_generated.h.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-30 14:15:29 +02:00 committed by Arkadiusz Hiler
parent 1071c99388
commit bd51335a8c
203 changed files with 7108 additions and 7077 deletions

View file

@ -2,26 +2,6 @@
#include "unix_private.h"
#include "cppISteamNetworking_SteamNetworking002.h"
struct u_ISteamNetworking_SteamNetworking002
{
#ifdef __cplusplus
virtual uint32_t CreateListenSocket( int32_t, uint32_t, uint16_t, bool ) = 0;
virtual uint32_t CreateP2PConnectionSocket( CSteamID, int32_t, int32_t, bool ) = 0;
virtual uint32_t CreateConnectionSocket( uint32_t, uint16_t, int32_t ) = 0;
virtual bool DestroySocket( uint32_t, bool ) = 0;
virtual bool DestroyListenSocket( uint32_t, bool ) = 0;
virtual bool SendDataOnSocket( uint32_t, void *, uint32_t, bool ) = 0;
virtual bool IsDataAvailableOnSocket( uint32_t, uint32_t * ) = 0;
virtual bool RetrieveDataFromSocket( uint32_t, void *, uint32_t, uint32_t * ) = 0;
virtual bool IsDataAvailable( uint32_t, uint32_t *, uint32_t * ) = 0;
virtual bool RetrieveData( uint32_t, void *, uint32_t, uint32_t *, uint32_t * ) = 0;
virtual bool GetSocketInfo( uint32_t, CSteamID *, int32_t *, uint32_t *, uint16_t * ) = 0;
virtual bool GetListenSocketInfo( uint32_t, uint32_t *, uint16_t * ) = 0;
virtual uint32_t GetSocketConnectionType( uint32_t ) = 0;
virtual int32_t GetMaxPacketSize( uint32_t ) = 0;
#endif /* __cplusplus */
};
void cppISteamNetworking_SteamNetworking002_CreateListenSocket( struct cppISteamNetworking_SteamNetworking002_CreateListenSocket_params *params )
{
struct u_ISteamNetworking_SteamNetworking002 *iface = (struct u_ISteamNetworking_SteamNetworking002 *)params->linux_side;