1
0

ifc_icy_playback.h 734 B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include "jnetlib/jnetlib_defines.h"
  3. #include "foundation/dispatch.h"
  4. #include "foundation/error.h"
  5. #include "player/svc_output.h"
  6. #include "player/ifc_player.h"
  7. #include "http/ifc_http.h"
  8. #include "icy/ifc_icy_reader.h"
  9. #include "player/ifc_playback_parameters.h"
  10. class ifc_icy_playback: public Wasabi2::Dispatchable
  11. {
  12. protected:
  13. ifc_icy_playback() : Dispatchable(DISPATCHABLE_VERSION) {}
  14. ~ifc_icy_playback() {}
  15. public:
  16. enum
  17. {
  18. DISPATCHABLE_VERSION,
  19. };
  20. int Run(ifc_http *http_parent, ifc_player *player, ifc_icy_reader *reader) { return ICYPlayback_Run(http_parent, player, reader); }
  21. protected:
  22. virtual int WASABICALL ICYPlayback_Run(ifc_http *http_parent, ifc_player *player, ifc_icy_reader *reader)=0;
  23. };