Implemented recording and replaying with a single DVB card

This commit is contained in:
Klaus Schmidinger
2002-09-04 17:26:02 +02:00
parent 1967d0cd3d
commit 3e58bc64fe
12 changed files with 416 additions and 337 deletions

View File

@@ -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.7 2002/09/04 13:31:42 kls Exp $
*/
#ifndef __DVBDEVICE_H
@@ -23,6 +23,8 @@
#include "device.h"
#include "eit.h"
#define MAXDVBDEVICES 4
class cDvbDevice : public cDevice {
friend class cDvbOsd;
private:
@@ -45,7 +47,6 @@ protected:
public:
cDvbDevice(int n);
virtual ~cDvbDevice();
virtual bool CanBeReUsed(int Frequency, int Vpid);
virtual bool HasDecoder(void) const;
// OSD facilities
@@ -58,7 +59,9 @@ public:
private:
int frequency;
public:
virtual bool SetChannelDevice(const cChannel *Channel);
virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsSwitchChannel = NULL);
protected:
virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView);
// PID handle facilities