mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
32 lines
766 B
C
32 lines
766 B
C
|
/*
|
||
|
* dvbci.h: Common Interface for DVB devices
|
||
|
*
|
||
|
* See the main source file 'vdr.c' for copyright information and
|
||
|
* how to reach the author.
|
||
|
*
|
||
|
* $Id: dvbci.h 1.1 2007/01/07 14:38:00 kls Exp $
|
||
|
*/
|
||
|
|
||
|
#ifndef __DVBCI_H
|
||
|
#define __DVBCI_H
|
||
|
|
||
|
#include "ci.h"
|
||
|
|
||
|
class cDvbCiAdapter : public cCiAdapter {
|
||
|
private:
|
||
|
cDevice *device;
|
||
|
int fd;
|
||
|
protected:
|
||
|
virtual int Read(uint8_t *Buffer, int MaxLength);
|
||
|
virtual void Write(const uint8_t *Buffer, int Length);
|
||
|
virtual bool Reset(int Slot);
|
||
|
virtual eModuleStatus ModuleStatus(int Slot);
|
||
|
virtual bool Assign(cDevice *Device, bool Query = false);
|
||
|
cDvbCiAdapter(cDevice *Device, int Fd);
|
||
|
public:
|
||
|
virtual ~cDvbCiAdapter();
|
||
|
static cDvbCiAdapter *CreateCiAdapter(cDevice *Device, int Fd);
|
||
|
};
|
||
|
|
||
|
#endif //__DVBCI_H
|