2018-01-18 17:24:05 +01:00
|
|
|
#include "steam_defs.h"
|
|
|
|
#include "steamworks_sdk_122/steam_api.h"
|
2018-10-30 20:06:46 +01:00
|
|
|
#include "steamclient_private.h"
|
2018-01-18 17:24:05 +01:00
|
|
|
#include "cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001.h"
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
2018-10-29 19:26:08 +01:00
|
|
|
#include "struct_converters_122.h"
|
2018-01-18 17:24:05 +01:00
|
|
|
ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_WriteScreenshot(void *linux_side, void * pubRGB, uint32 cubRGB, int nWidth, int nHeight)
|
|
|
|
{
|
|
|
|
return ((ISteamScreenshots*)linux_side)->WriteScreenshot((void *)pubRGB, (uint32)cubRGB, (int)nWidth, (int)nHeight);
|
|
|
|
}
|
|
|
|
|
|
|
|
ScreenshotHandle cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_AddScreenshotToLibrary(void *linux_side, const char * pchFilename, const char * pchThumbnailFilename, int nWidth, int nHeight)
|
|
|
|
{
|
|
|
|
return ((ISteamScreenshots*)linux_side)->AddScreenshotToLibrary((const char *)pchFilename, (const char *)pchThumbnailFilename, (int)nWidth, (int)nHeight);
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TriggerScreenshot(void *linux_side)
|
|
|
|
{
|
|
|
|
((ISteamScreenshots*)linux_side)->TriggerScreenshot();
|
|
|
|
}
|
|
|
|
|
|
|
|
void cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_HookScreenshots(void *linux_side, bool bHook)
|
|
|
|
{
|
|
|
|
((ISteamScreenshots*)linux_side)->HookScreenshots((bool)bHook);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_SetLocation(void *linux_side, ScreenshotHandle hScreenshot, const char * pchLocation)
|
|
|
|
{
|
|
|
|
return ((ISteamScreenshots*)linux_side)->SetLocation((ScreenshotHandle)hScreenshot, (const char *)pchLocation);
|
|
|
|
}
|
|
|
|
|
|
|
|
bool cppISteamScreenshots_STEAMSCREENSHOTS_INTERFACE_VERSION001_TagUser(void *linux_side, ScreenshotHandle hScreenshot, CSteamID steamID)
|
|
|
|
{
|
|
|
|
return ((ISteamScreenshots*)linux_side)->TagUser((ScreenshotHandle)hScreenshot, (CSteamID)steamID);
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|