Proton/lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp

32 lines
1.0 KiB
C++
Raw Normal View History

2018-01-18 19:24:05 +03:00
#include "steam_defs.h"
#include "steamworks_sdk_142/steam_api.h"
#include "steamclient_private.h"
2018-01-18 19:24:05 +03:00
#include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h"
#ifdef __cplusplus
extern "C" {
#endif
2018-10-29 21:26:08 +03:00
#include "struct_converters_142.h"
2018-01-18 19:24:05 +03:00
void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetVideoURL(void *linux_side, AppId_t unVideoAppID)
{
((ISteamVideo*)linux_side)->GetVideoURL((AppId_t)unVideoAppID);
}
bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_IsBroadcasting(void *linux_side, int * pnNumViewers)
{
return ((ISteamVideo*)linux_side)->IsBroadcasting((int *)pnNumViewers);
}
void cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFSettings(void *linux_side, AppId_t unVideoAppID)
{
((ISteamVideo*)linux_side)->GetOPFSettings((AppId_t)unVideoAppID);
}
bool cppISteamVideo_STEAMVIDEO_INTERFACE_V002_GetOPFStringForApp(void *linux_side, AppId_t unVideoAppID, char * pchBuffer, int32 * pnBufferSize)
{
return ((ISteamVideo*)linux_side)->GetOPFStringForApp((AppId_t)unVideoAppID, (char *)pchBuffer, (int32 *)pnBufferSize);
}
#ifdef __cplusplus
}
#endif