mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-17 15:25:45 -04:00
Initial community commit
This commit is contained in:
27
Src/replicant/decode/svc_raw_media_reader.h
Normal file
27
Src/replicant/decode/svc_raw_media_reader.h
Normal file
@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
|
||||
#include "foundation/dispatch.h"
|
||||
#include "ifc_raw_media_reader.h"
|
||||
#include "nx/nxuri.h"
|
||||
|
||||
// {BE616DD5-5F42-4E42-88CF-CB7DCB47A3CD}
|
||||
static const GUID svc_raw_media_reader_guid =
|
||||
{ 0xbe616dd5, 0x5f42, 0x4e42, { 0x88, 0xcf, 0xcb, 0x7d, 0xcb, 0x47, 0xa3, 0xcd } };
|
||||
|
||||
|
||||
class svc_raw_media_reader : public Wasabi2::Dispatchable
|
||||
{
|
||||
protected:
|
||||
svc_raw_media_reader() : Wasabi2::Dispatchable(DISPATCHABLE_VERSION) {}
|
||||
~svc_raw_media_reader() {}
|
||||
public:
|
||||
static GUID GetServiceType() { return svc_raw_media_reader_guid; }
|
||||
int CreateRawMediaReader(ifc_raw_media_reader **reader, nx_uri_t filename, unsigned int pass) { return RawMediaReaderService_CreateRawMediaReader(reader, filename, pass); }
|
||||
|
||||
enum
|
||||
{
|
||||
DISPATCHABLE_VERSION = 0,
|
||||
};
|
||||
protected:
|
||||
virtual int WASABICALL RawMediaReaderService_CreateRawMediaReader(ifc_raw_media_reader **reader, nx_uri_t filename, unsigned int pass)=0;
|
||||
};
|
Reference in New Issue
Block a user