aboutsummaryrefslogtreecommitdiff
path: root/Src/replicant/icy/ifc_icy_playback.h
diff options
context:
space:
mode:
authorJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
committerJef <jef@targetspot.com>2024-09-24 08:54:57 -0400
commit20d28e80a5c861a9d5f449ea911ab75b4f37ad0d (patch)
tree12f17f78986871dd2cfb0a56e5e93b545c1ae0d0 /Src/replicant/icy/ifc_icy_playback.h
parent537bcbc86291b32fc04ae4133ce4d7cac8ebe9a7 (diff)
downloadwinamp-20d28e80a5c861a9d5f449ea911ab75b4f37ad0d.tar.gz
Initial community commit
Diffstat (limited to 'Src/replicant/icy/ifc_icy_playback.h')
-rw-r--r--Src/replicant/icy/ifc_icy_playback.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/Src/replicant/icy/ifc_icy_playback.h b/Src/replicant/icy/ifc_icy_playback.h
new file mode 100644
index 00000000..f918ff4f
--- /dev/null
+++ b/Src/replicant/icy/ifc_icy_playback.h
@@ -0,0 +1,26 @@
+#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 "icy/ifc_icy_reader.h"
+#include "player/ifc_playback_parameters.h"
+
+class ifc_icy_playback: public Wasabi2::Dispatchable
+{
+protected:
+ ifc_icy_playback() : Dispatchable(DISPATCHABLE_VERSION) {}
+ ~ifc_icy_playback() {}
+public:
+ enum
+ {
+ DISPATCHABLE_VERSION,
+ };
+
+ int Run(ifc_http *http_parent, ifc_player *player, ifc_icy_reader *reader) { return ICYPlayback_Run(http_parent, player, reader); }
+
+protected:
+ virtual int WASABICALL ICYPlayback_Run(ifc_http *http_parent, ifc_player *player, ifc_icy_reader *reader)=0;
+};