aboutsummaryrefslogtreecommitdiff
path: root/Src/replicant/http/ifc_http_demuxer.h
diff options
context:
space:
mode:
authorJean-Francois Mauguit <jfmauguit@mac.com>2024-09-24 09:03:25 -0400
committerGitHub <noreply@github.com>2024-09-24 09:03:25 -0400
commitbab614c421ed7ae329d26bf028c4a3b1d2450f5a (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/replicant/http/ifc_http_demuxer.h
parent4bde6044fddf053f31795b9eaccdd2a5a527d21f (diff)
parent20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (diff)
downloadwinamp-bab614c421ed7ae329d26bf028c4a3b1d2450f5a.tar.gz
Merge pull request #5 from WinampDesktop/community
Merge to main
Diffstat (limited to 'Src/replicant/http/ifc_http_demuxer.h')
-rw-r--r--Src/replicant/http/ifc_http_demuxer.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/Src/replicant/http/ifc_http_demuxer.h b/Src/replicant/http/ifc_http_demuxer.h
new file mode 100644
index 00000000..4616a6ea
--- /dev/null
+++ b/Src/replicant/http/ifc_http_demuxer.h
@@ -0,0 +1,25 @@
+#pragma once
+#include "jnetlib/jnetlib_defines.h"
+#include "foundation/dispatch.h"
+#include "foundation/error.h"
+#include "player/svc_output.h"
+#include "player/ifc_player.h"
+#include "http/ifc_http.h"
+#include "player/ifc_playback_parameters.h"
+
+class ifc_http_demuxer: public Wasabi2::Dispatchable
+{
+protected:
+ ifc_http_demuxer() : Dispatchable(DISPATCHABLE_VERSION) {}
+ ~ifc_http_demuxer() {}
+public:
+ enum
+ {
+ DISPATCHABLE_VERSION,
+ };
+
+ int Run(ifc_http *http_parent, ifc_player *player, ifc_playback_parameters *secondary_parameters) { return HTTPDemuxer_Run(http_parent, player, secondary_parameters); }
+
+protected:
+ virtual int WASABICALL HTTPDemuxer_Run(ifc_http *http_parent, ifc_player *player, ifc_playback_parameters *secondary_parameters)=0;
+};