mirror of
https://github.com/ValveSoftware/Proton
synced 2025-08-31 06:35:23 +00:00
Move lsteamclient out of wine
This commit is contained in:
30
lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp
Normal file
30
lsteamclient/cppISteamVideo_STEAMVIDEO_INTERFACE_V002.cpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#include "steamclient_private.h"
|
||||
#include "steam_defs.h"
|
||||
#include "steamworks_sdk_142/steam_api.h"
|
||||
#include "cppISteamVideo_STEAMVIDEO_INTERFACE_V002.h"
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
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
|
Reference in New Issue
Block a user