summaryrefslogtreecommitdiff
path: root/PLUGINS/src/dvbsddevice/dvbsdffdevice.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2011-08-27 11:40:21 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2011-08-27 11:40:21 +0200
commitd2342ae2ef163ca35727dcc1f72df4b253a06154 (patch)
tree7eb6ab1253a44ee543f75d1f856fc301eae5369f /PLUGINS/src/dvbsddevice/dvbsdffdevice.h
parent6700e772e5da3757a91fcc500128adc7c16bb355 (diff)
downloadvdr-d2342ae2ef163ca35727dcc1f72df4b253a06154.tar.gz
vdr-d2342ae2ef163ca35727dcc1f72df4b253a06154.tar.bz2
The dvbsddevice plugin now supports the new option --outputonly
Diffstat (limited to 'PLUGINS/src/dvbsddevice/dvbsdffdevice.h')
-rw-r--r--PLUGINS/src/dvbsddevice/dvbsdffdevice.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/PLUGINS/src/dvbsddevice/dvbsdffdevice.h b/PLUGINS/src/dvbsddevice/dvbsdffdevice.h
index afe4727e..bd74cde6 100644
--- a/PLUGINS/src/dvbsddevice/dvbsdffdevice.h
+++ b/PLUGINS/src/dvbsddevice/dvbsdffdevice.h
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: dvbsdffdevice.h 2.12 2011/05/21 12:56:49 kls Exp $
+ * $Id: dvbsdffdevice.h 2.13 2011/08/27 11:32:42 kls Exp $
*/
#ifndef __DVBSDFFDEVICE_H
@@ -17,10 +17,11 @@
class cDvbSdFfDevice : public cDvbDevice {
private:
int fd_osd, fd_audio, fd_video, fd_stc;
+ bool outputOnly;
protected:
virtual void MakePrimaryDevice(bool On);
public:
- cDvbSdFfDevice(int Adapter, int Frontend);
+ cDvbSdFfDevice(int Adapter, int Frontend, bool OutputOnly);
virtual ~cDvbSdFfDevice();
virtual bool HasDecoder(void) const;
virtual bool AvoidRecording(void) const;
@@ -34,6 +35,8 @@ public:
// Channel facilities
+public:
+ virtual bool ProvidesSource(int Source) const;
private:
void TurnOffLiveMode(bool LiveView);
protected:
@@ -101,7 +104,11 @@ public:
};
class cDvbSdFfDeviceProbe : public cDvbDeviceProbe {
+private:
+ bool outputOnly;
public:
+ cDvbSdFfDeviceProbe(void);
+ void SetOutputOnly(bool On) { outputOnly = On; }
virtual bool Probe(int Adapter, int Frontend);
};