1
0

svc_raw_media_reader.h 896 B

123456789101112131415161718192021222324252627
  1. #pragma once
  2. #include "foundation/dispatch.h"
  3. #include "ifc_raw_media_reader.h"
  4. #include "nx/nxuri.h"
  5. // {BE616DD5-5F42-4E42-88CF-CB7DCB47A3CD}
  6. static const GUID svc_raw_media_reader_guid =
  7. { 0xbe616dd5, 0x5f42, 0x4e42, { 0x88, 0xcf, 0xcb, 0x7d, 0xcb, 0x47, 0xa3, 0xcd } };
  8. class svc_raw_media_reader : public Wasabi2::Dispatchable
  9. {
  10. protected:
  11. svc_raw_media_reader() : Wasabi2::Dispatchable(DISPATCHABLE_VERSION) {}
  12. ~svc_raw_media_reader() {}
  13. public:
  14. static GUID GetServiceType() { return svc_raw_media_reader_guid; }
  15. int CreateRawMediaReader(ifc_raw_media_reader **reader, nx_uri_t filename, unsigned int pass) { return RawMediaReaderService_CreateRawMediaReader(reader, filename, pass); }
  16. enum
  17. {
  18. DISPATCHABLE_VERSION = 0,
  19. };
  20. protected:
  21. virtual int WASABICALL RawMediaReaderService_CreateRawMediaReader(ifc_raw_media_reader **reader, nx_uri_t filename, unsigned int pass)=0;
  22. };