aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h
blob: 050d86bf33c56571a9cf6023f443d469af1ae669 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#pragma once

#include "SenClientBoxArt.h"
#include "SenClientCultureBackCompat_SenCore.h"

namespace Sentient
{
#pragma warning(disable:4996)

	__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);
	}

#pragma warning(default:4996)
}