vdr  2.0.2
dvbci.h
Go to the documentation of this file.
1 /*
2  * dvbci.h: Common Interface for DVB devices
3  *
4  * See the main source file 'vdr.c' for copyright information and
5  * how to reach the author.
6  *
7  * $Id: dvbci.h 2.0 2006/11/26 11:19:42 kls Exp $
8  */
9 
10 #ifndef __DVBCI_H
11 #define __DVBCI_H
12 
13 #include "ci.h"
14 
15 class cDvbCiAdapter : public cCiAdapter {
16 private:
18  int fd;
19 protected:
20  virtual int Read(uint8_t *Buffer, int MaxLength);
21  virtual void Write(const uint8_t *Buffer, int Length);
22  virtual bool Reset(int Slot);
23  virtual eModuleStatus ModuleStatus(int Slot);
24  virtual bool Assign(cDevice *Device, bool Query = false);
25  cDvbCiAdapter(cDevice *Device, int Fd);
26 public:
27  virtual ~cDvbCiAdapter();
28  static cDvbCiAdapter *CreateCiAdapter(cDevice *Device, int Fd);
29  };
30 
31 #endif //__DVBCI_H
32