aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h')
-rw-r--r--Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h b/Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h
new file mode 100644
index 00000000..050d86bf
--- /dev/null
+++ b/Minecraft.Client/Xbox/Sentient/Include/SenClientCultureBackCompat_SenBoxArt.h
@@ -0,0 +1,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)
+} \ No newline at end of file