lsteamclient: Generate linux interface structs.

CW-Bug-Id: #22729
This commit is contained in:
Rémi Bernon 2023-09-23 23:44:45 +02:00 committed by Arkadiusz Hiler
parent 4988734817
commit a1445b757d
391 changed files with 19128 additions and 5873 deletions

View file

@ -12,29 +12,46 @@ extern "C" {
#define SDKVER_158
#include "struct_converters.h"
#include "cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001.h"
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001
{
#ifdef __cplusplus
virtual uint32_t GetNumInstalledApps( ) = 0;
virtual uint32_t GetInstalledApps( uint32_t *, uint32_t ) = 0;
virtual int32_t GetAppName( uint32_t, char *, int32_t ) = 0;
virtual int32_t GetAppInstallDir( uint32_t, char *, int32_t ) = 0;
virtual int32_t GetAppBuildId( uint32_t ) = 0;
#endif /* __cplusplus */
};
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetNumInstalledApps_params *params )
{
params->_ret = ((ISteamAppList*)params->linux_side)->GetNumInstalledApps( );
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side;
params->_ret = iface->GetNumInstalledApps( );
}
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetInstalledApps_params *params )
{
params->_ret = ((ISteamAppList*)params->linux_side)->GetInstalledApps( (AppId_t *)params->pvecAppID, (uint32)params->unMaxAppIDs );
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side;
params->_ret = iface->GetInstalledApps( params->pvecAppID, params->unMaxAppIDs );
}
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppName_params *params )
{
params->_ret = ((ISteamAppList*)params->linux_side)->GetAppName( (AppId_t)params->nAppID, (char *)params->pchName, (int)params->cchNameMax );
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side;
params->_ret = iface->GetAppName( params->nAppID, params->pchName, params->cchNameMax );
}
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppInstallDir_params *params )
{
params->_ret = ((ISteamAppList*)params->linux_side)->GetAppInstallDir( (AppId_t)params->nAppID, (char *)params->pchDirectory, (int)params->cchNameMax );
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side;
params->_ret = iface->GetAppInstallDir( params->nAppID, params->pchDirectory, params->cchNameMax );
}
void cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId( struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001_GetAppBuildId_params *params )
{
params->_ret = ((ISteamAppList*)params->linux_side)->GetAppBuildId( (AppId_t)params->nAppID );
struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *iface = (struct cppISteamAppList_STEAMAPPLIST_INTERFACE_VERSION001 *)params->linux_side;
params->_ret = iface->GetAppBuildId( params->nAppID );
}
#ifdef __cplusplus