summaryrefslogtreecommitdiff
path: root/dvbdevice.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-12-08 09:55:26 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-12-08 09:55:26 +0100
commitb9422baff21024b2ca16e7cbb3dc049cf16ad371 (patch)
tree1d805fed0f9745a3892912cfe6378ff7fd7c5596 /dvbdevice.h
parent2d2369fca0c1d715009c9c29b03ffd47c0afa659 (diff)
downloadvdr-b9422baff21024b2ca16e7cbb3dc049cf16ad371.tar.gz
vdr-b9422baff21024b2ca16e7cbb3dc049cf16ad371.tar.bz2
The actual tuning is now done in a separate thread
Diffstat (limited to 'dvbdevice.h')
-rw-r--r--dvbdevice.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/dvbdevice.h b/dvbdevice.h
index 709790cd..d135a298 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.18 2002/11/03 12:31:15 kls Exp $
+ * $Id: dvbdevice.h 1.19 2002/12/07 14:44:29 kls Exp $
*/
#ifndef __DVBDEVICE_H
@@ -22,6 +22,8 @@
#define MAXDVBDEVICES 4
+class cDvbTuner;
+
class cDvbDevice : public cDevice {
friend class cDvbOsd;
private:
@@ -33,7 +35,7 @@ public:
// Must be called before accessing any DVB functions.
private:
fe_type_t frontendType;
- int fd_osd, fd_frontend, fd_audio, fd_video, fd_dvr;
+ int fd_osd, fd_audio, fd_video, fd_dvr;
int OsdDeviceHandle(void) const { return fd_osd; }
protected:
virtual void MakePrimaryDevice(bool On);
@@ -53,10 +55,7 @@ public:
// Channel facilities
private:
- int source;
- int frequency;
- const char *diseqcCommands;
- bool IsTunedTo(const cChannel *Channel) const;
+ cDvbTuner *dvbTuner;
public:
virtual bool ProvidesSource(int Source) const;
virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsDetachReceivers = NULL) const;