ifc_http_demuxer.h 761 B

12345678910111213141516171819202122232425
  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 "player/ifc_playback_parameters.h"
  9. class ifc_http_demuxer: public Wasabi2::Dispatchable
  10. {
  11. protected:
  12. ifc_http_demuxer() : Dispatchable(DISPATCHABLE_VERSION) {}
  13. ~ifc_http_demuxer() {}
  14. public:
  15. enum
  16. {
  17. DISPATCHABLE_VERSION,
  18. };
  19. int Run(ifc_http *http_parent, ifc_player *player, ifc_playback_parameters *secondary_parameters) { return HTTPDemuxer_Run(http_parent, player, secondary_parameters); }
  20. protected:
  21. virtual int WASABICALL HTTPDemuxer_Run(ifc_http *http_parent, ifc_player *player, ifc_playback_parameters *secondary_parameters)=0;
  22. };