4jcraft/Minecraft.Client/Platform/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h
Tropical ae84186d3a chore: remove #pragma warning directives
These are only recognized by MSVC and will throw *additional* warnings on other compilers.
2026-03-11 16:49:12 -05:00

44 lines
1.3 KiB
C++

#pragma once
#include "SenClientBoxArt.h"
#include "SenClientCultureBackCompat_SenCore.h"
namespace Sentient
{
__declspec(deprecated("This function is deprecated. See the function body for an example of using the new API."))
__inline HRESULT SenBoxArtDownloadExtraInfo(
const SenBoxArtInfo &boxArtInfo,
const SenCultureInfo *culture,
SenBoxArtExtraInfo *out_boxArtExtraInfo,
SenHandle *out_senHandle,
SenSysCompletedCallback userCallback, void *userCallbackData )
{
return SenBoxArtDownloadExtraInfo(boxArtInfo, out_boxArtExtraInfo, out_senHandle, userCallback, userCallbackData);
}
__declspec(deprecated("This function is deprecated, use SenBoxArtDownloadExtraInfo instead"))
__inline HRESULT SenBoxArtXMLGetTitle(
const SenXML &senXML,
const SenCultureInfo *culture,
size_t bufferLengthMax,
size_t *out_bufferLength,
wchar_t *out_buffer )
{
return SenBoxArtXMLGetTitle(senXML, bufferLengthMax, out_bufferLength, out_buffer);
}
__declspec(deprecated("This function is deprecated, use SenBoxArtDownloadExtraInfo instead"))
__inline HRESULT SenBoxArtXMLGetDescription(
const SenXML &senXML,
const SenCultureInfo *culture,
size_t bufferLengthMax,
size_t *out_bufferLength,
wchar_t *out_buffer )
{
return SenBoxArtXMLGetDescription(senXML, bufferLengthMax, out_bufferLength, out_buffer);
}
}