From 20d28e80a5c861a9d5f449ea911ab75b4f37ad0d Mon Sep 17 00:00:00 2001 From: Jef Date: Tue, 24 Sep 2024 14:54:57 +0200 Subject: Initial community commit --- Src/replicant/http/HTTPPlaybackService.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Src/replicant/http/HTTPPlaybackService.h (limited to 'Src/replicant/http/HTTPPlaybackService.h') diff --git a/Src/replicant/http/HTTPPlaybackService.h b/Src/replicant/http/HTTPPlaybackService.h new file mode 100644 index 00000000..b048ce14 --- /dev/null +++ b/Src/replicant/http/HTTPPlaybackService.h @@ -0,0 +1,16 @@ +#pragma once +#include "player/svc_playback.h" +#include "nx/nxstring.h" +#include "nswasabi/ServiceName.h" + +// {672AF800-F239-40e5-8C87-3B4D305B72B2} +static const GUID http_playback_guid = +{ 0x672af800, 0xf239, 0x40e5, { 0x8c, 0x87, 0x3b, 0x4d, 0x30, 0x5b, 0x72, 0xb2 } }; + +class HTTPPlaybackService : public svc_playback +{ +public: + WASABI_SERVICE_NAME("HTTP Playback Service"); + static GUID GetServiceGUID() { return http_playback_guid; } + int WASABICALL PlaybackService_CreatePlayback(unsigned int pass, nx_uri_t filename, ifc_player *player, ifc_playback **out_playback_object); +}; \ No newline at end of file -- cgit