mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-31 00:55:37 +03:00
f6871a6b73
CW-Bug-Id: #22729
42 lines
1.3 KiB
C++
42 lines
1.3 KiB
C++
#include "steam_defs.h"
|
|
#pragma push_macro("__cdecl")
|
|
#undef __cdecl
|
|
#define __cdecl
|
|
#include "steamworks_sdk_158/steam_api.h"
|
|
#include "steamworks_sdk_158/steamnetworkingtypes.h"
|
|
#pragma pop_macro("__cdecl")
|
|
#include "steamclient_private.h"
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#define SDKVER_158
|
|
#include "struct_converters.h"
|
|
#include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h"
|
|
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)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamVideo*)linux_side)->IsBroadcasting((int *)pnNumViewers);
|
|
return (_ret);
|
|
}
|
|
|
|
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)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamVideo*)linux_side)->GetOPFStringForApp((AppId_t)unVideoAppID, (char *)pchBuffer, (int32 *)pnBufferSize);
|
|
return (_ret);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|