Proton/lsteamclient/cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.cpp

60 lines
3.6 KiB
C++
Raw Normal View History

/* This file is auto-generated, do not edit. */
#include "unix_private.h"
#include "cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002.h"
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002
{
#ifdef __cplusplus
virtual bool FileWrite( const char *, const void *, int32_t ) = 0;
virtual int32_t GetFileSize( const char * ) = 0;
virtual int32_t FileRead( const char *, void *, int32_t ) = 0;
virtual bool FileExists( const char * ) = 0;
virtual int32_t GetFileCount( ) = 0;
virtual const char * GetFileNameAndSize( int32_t, int32_t * ) = 0;
virtual bool GetQuota( int32_t *, int32_t * ) = 0;
#endif /* __cplusplus */
};
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileWrite_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->FileWrite( params->pchFile, params->pvData, params->cubData );
2018-01-18 19:24:05 +03:00
}
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileSize_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->GetFileSize( params->pchFile );
2018-01-18 19:24:05 +03:00
}
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileRead_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->FileRead( params->pchFile, params->pvData, params->cubDataToRead );
2018-01-18 19:24:05 +03:00
}
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_FileExists_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->FileExists( params->pchFile );
2018-01-18 19:24:05 +03:00
}
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileCount_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->GetFileCount( );
2018-01-18 19:24:05 +03:00
}
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetFileNameAndSize_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->GetFileNameAndSize( params->iFile, params->pnFileSizeInBytes );
2018-01-18 19:24:05 +03:00
}
void cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota( struct cppISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002_GetQuota_params *params )
2018-01-18 19:24:05 +03:00
{
struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *iface = (struct u_ISteamRemoteStorage_STEAMREMOTESTORAGE_INTERFACE_VERSION002 *)params->linux_side;
params->_ret = iface->GetQuota( params->pnTotalBytes, params->puAvailableBytes );
2018-01-18 19:24:05 +03:00
}