diff options
Diffstat (limited to 'dvbdevice.h')
-rw-r--r-- | dvbdevice.h | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/dvbdevice.h b/dvbdevice.h index a338399..b135ff6 100644 --- a/dvbdevice.h +++ b/dvbdevice.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: dvbdevice.h 1.6 2002/08/25 09:19:34 kls Exp $ + * $Id: dvbdevice.h 1.10 2002/09/08 14:05:29 kls Exp $ */ #ifndef __DVBDEVICE_H @@ -21,8 +21,11 @@ #include <ost/frontend.h> #endif #include "device.h" +#include "dvbspu.h" #include "eit.h" +#define MAXDVBDEVICES 4 + class cDvbDevice : public cDevice { friend class cDvbOsd; private: @@ -45,20 +48,24 @@ protected: public: cDvbDevice(int n); virtual ~cDvbDevice(); - virtual bool CanBeReUsed(int Frequency, int Vpid); virtual bool HasDecoder(void) const; // OSD facilities +private: + cDvbSpuDecoder *spuDecoder; public: cOsdBase *NewOsd(int x, int y); + virtual cSpuDecoder *GetSpuDecoder(void); // Channel facilities private: int frequency; public: - virtual bool SetChannelDevice(const cChannel *Channel); + virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsDetachReceivers = NULL); +protected: + virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView); // PID handle facilities @@ -103,10 +110,12 @@ public: // Receiver facilities +private: + cTSBuffer *tsBuffer; protected: virtual bool OpenDvr(void); virtual void CloseDvr(void); - virtual int GetTSPacket(uchar *Data); + virtual bool GetTSPacket(uchar *&Data); }; #endif //__DVBDEVICE_H |