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,34 +2,6 @@
#include "unix_private.h"
#include "cppISteamNetworkingUtils_SteamNetworkingUtils001.h"
struct u_ISteamNetworkingUtils_SteamNetworkingUtils001
{
#ifdef __cplusplus
virtual float GetLocalPingLocation( SteamNetworkPingLocation_t * ) = 0;
virtual int32_t EstimatePingTimeBetweenTwoLocations( const SteamNetworkPingLocation_t *, const SteamNetworkPingLocation_t * ) = 0;
virtual int32_t EstimatePingTimeFromLocalHost( const SteamNetworkPingLocation_t * ) = 0;
virtual void ConvertPingLocationToString( const SteamNetworkPingLocation_t *, char *, int32_t ) = 0;
virtual bool ParsePingLocationString( const char *, SteamNetworkPingLocation_t * ) = 0;
virtual bool CheckPingDataUpToDate( float ) = 0;
virtual bool IsPingMeasurementInProgress( ) = 0;
virtual int32_t GetPingToDataCenter( uint32_t, uint32_t * ) = 0;
virtual int32_t GetDirectPingToPOP( uint32_t ) = 0;
virtual int32_t GetPOPCount( ) = 0;
virtual int32_t GetPOPList( uint32_t *, int32_t ) = 0;
virtual int64_t GetLocalTimestamp( ) = 0;
virtual void SetDebugOutputFunction( uint32_t, void (*U_STDCALL )(uint32_t, const char *) ) = 0;
virtual bool SetConfigValue( uint32_t, uint32_t, int32_t, uint32_t, const void * ) = 0;
virtual uint32_t GetConfigValue( uint32_t, uint32_t, int32_t, uint32_t *, void *, uint32_t * ) = 0;
virtual bool GetConfigValueInfo( uint32_t, const char **, uint32_t *, uint32_t *, uint32_t * ) = 0;
virtual uint32_t GetFirstConfigValue( ) = 0;
virtual void SteamNetworkingIPAddr_ToString( const SteamNetworkingIPAddr *, char *, uint32_t, bool ) = 0;
virtual bool SteamNetworkingIPAddr_ParseString( SteamNetworkingIPAddr *, const char * ) = 0;
virtual void SteamNetworkingIdentity_ToString( const SteamNetworkingIdentity_144 *, char *, uint32_t ) = 0;
virtual bool SteamNetworkingIdentity_ParseString( SteamNetworkingIdentity_144 *, const char * ) = 0;
virtual ~u_ISteamNetworkingUtils_SteamNetworkingUtils001( ) = 0;
#endif /* __cplusplus */
};
void cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation( struct cppISteamNetworkingUtils_SteamNetworkingUtils001_GetLocalPingLocation_params *params )
{
struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *iface = (struct u_ISteamNetworkingUtils_SteamNetworkingUtils001 *)params->linux_side;