svc_ultravox_playback.h 966 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include "jnetlib/jnetlib_defines.h"
  3. #include "foundation/dispatch.h"
  4. #include "foundation/error.h"
  5. #include "ultravox/ifc_ultravox_playback.h"
  6. // {CAA4D831-8387-4F7D-A752-6DD0759E9C09}
  7. static const GUID ultravox_playback_service_type_guid =
  8. { 0xcaa4d831, 0x8387, 0x4f7d, { 0xa7, 0x52, 0x6d, 0xd0, 0x75, 0x9e, 0x9c, 0x9 } };
  9. class svc_ultravox_playback : public Wasabi2::Dispatchable
  10. {
  11. protected:
  12. svc_ultravox_playback() : Dispatchable(DISPATCHABLE_VERSION) {}
  13. ~svc_ultravox_playback() {}
  14. public:
  15. static GUID GetServiceType() { return ultravox_playback_service_type_guid; }
  16. NError CreatePlayback(jnl_http_t http, unsigned int classtype, ifc_ultravox_playback **playback) { return UltravoxPlaybackService_CreateDemuxer(http, classtype, playback); }
  17. enum
  18. {
  19. DISPATCHABLE_VERSION,
  20. };
  21. protected:
  22. virtual NError WASABICALL UltravoxPlaybackService_CreateDemuxer(jnl_http_t http, unsigned int classtype, ifc_ultravox_playback **playback) = 0;
  23. };