2018-01-18 17:24:05 +01:00
|
|
|
#include "steam_defs.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma push_macro("__cdecl")
|
|
|
|
#undef __cdecl
|
2023-05-02 10:43:23 +02:00
|
|
|
#define __cdecl
|
2023-09-18 15:58:31 +02:00
|
|
|
#include "steamworks_sdk_158/steam_api.h"
|
|
|
|
#include "steamworks_sdk_158/steamnetworkingtypes.h"
|
2019-08-16 16:00:45 +02:00
|
|
|
#pragma pop_macro("__cdecl")
|
2018-10-30 20:06:46 +01:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 17:24:05 +01:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2023-09-18 15:58:31 +02:00
|
|
|
#define SDKVER_158
|
2019-02-26 16:05:29 +01:00
|
|
|
#include "struct_converters.h"
|
|
|
|
#include "cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001.h"
|
2018-01-18 17:24:05 +01:00
|
|
|
bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsEnabled(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamMusic*)linux_side)->BIsEnabled();
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_BIsPlaying(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamMusic*)linux_side)->BIsPlaying();
|
|
|
|
}
|
|
|
|
|
|
|
|
AudioPlayback_Status cppISteamMusic_STEAMMUSIC_INTERFACE_VERSION001_GetPlaybackStatus(void *linux_side)
|
|
|
|
{
|
|
|
|
return ((ISteamMusic*)linux_side)->GetPlaybackStatus();
|
|
|
|
}
|
|
|
|
|
|
|
|
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)
|
|
|
|
{
|
|
|
|
return ((ISteamMusic*)linux_side)->GetVolume();
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|