1
0

svc_raw_media_reader.h 698 B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. #include <bfc/dispatch.h>
  3. #include "ifc_raw_media_reader.h"
  4. #include <bfc/error.h>
  5. class svc_raw_media_reader : public Dispatchable
  6. {
  7. protected:
  8. svc_raw_media_reader() {}
  9. ~svc_raw_media_reader() {}
  10. public:
  11. static FOURCC getServiceType() { return svc_raw_media_reader::SERVICETYPE; }
  12. int CreateRawMediaReader(const wchar_t *filename, ifc_raw_media_reader **reader);
  13. public:
  14. DISPATCH_CODES
  15. {
  16. CREATERAWMEDIAREADER = 0,
  17. };
  18. enum
  19. {
  20. SERVICETYPE = MK4CC('r','a','w','m')
  21. };
  22. };
  23. inline int svc_raw_media_reader::CreateRawMediaReader(const wchar_t *filename, ifc_raw_media_reader **reader)
  24. {
  25. return _call(CREATERAWMEDIAREADER, (int)NErr_NotImplemented, filename, reader);
  26. }