mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-29 16:15:52 +03:00
f6871a6b73
CW-Bug-Id: #22729
71 lines
1.8 KiB
C++
71 lines
1.8 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 "cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h"
|
|
bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *linux_side)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamMusic*)linux_side)->BIsEnabled();
|
|
return (_ret);
|
|
}
|
|
|
|
bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(void *linux_side)
|
|
{
|
|
bool _ret;
|
|
_ret = ((ISteamMusic*)linux_side)->BIsPlaying();
|
|
return (_ret);
|
|
}
|
|
|
|
AudioPlayback_Status cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(void *linux_side)
|
|
{
|
|
AudioPlayback_Status _ret;
|
|
_ret = ((ISteamMusic*)linux_side)->GetPlaybackStatus();
|
|
return (_ret);
|
|
}
|
|
|
|
void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Play(void *linux_side)
|
|
{
|
|
((ISteamMusic*)linux_side)->Play();
|
|
}
|
|
|
|
void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_Pause(void *linux_side)
|
|
{
|
|
((ISteamMusic*)linux_side)->Pause();
|
|
}
|
|
|
|
void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayPrevious(void *linux_side)
|
|
{
|
|
((ISteamMusic*)linux_side)->PlayPrevious();
|
|
}
|
|
|
|
void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_PlayNext(void *linux_side)
|
|
{
|
|
((ISteamMusic*)linux_side)->PlayNext();
|
|
}
|
|
|
|
void cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_SetVolume(void *linux_side, float flVolume)
|
|
{
|
|
((ISteamMusic*)linux_side)->SetVolume((float)flVolume);
|
|
}
|
|
|
|
float cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetVolume(void *linux_side)
|
|
{
|
|
float _ret;
|
|
_ret = ((ISteamMusic*)linux_side)->GetVolume();
|
|
return (_ret);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|