Archived
1
0
This repository has been archived on 2024-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
winamp/Src/Agave/DecodeFile/svc_raw_media_reader.h

33 lines
698 B
C
Raw Normal View History

2024-09-24 12:54:57 +00:00
#pragma once
#include <bfc/dispatch.h>
#include "ifc_raw_media_reader.h"
#include <bfc/error.h>
class svc_raw_media_reader : public Dispatchable
{
protected:
svc_raw_media_reader() {}
~svc_raw_media_reader() {}
public:
static FOURCC getServiceType() { return svc_raw_media_reader::SERVICETYPE; }
int CreateRawMediaReader(const wchar_t *filename, ifc_raw_media_reader **reader);
public:
DISPATCH_CODES
{
CREATERAWMEDIAREADER = 0,
};
enum
{
SERVICETYPE = MK4CC('r','a','w','m')
};
};
inline int svc_raw_media_reader::CreateRawMediaReader(const wchar_t *filename, ifc_raw_media_reader **reader)
{
return _call(CREATERAWMEDIAREADER, (int)NErr_NotImplemented, filename, reader);
}