summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'device.h')
-rw-r--r--device.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/device.h b/device.h
index 02fa35c..06380fe 100644
--- a/device.h
+++ b/device.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.h 1.57 2005/02/20 14:06:28 kls Exp $
+ * $Id: device.h 1.59 2005/06/12 13:35:47 kls Exp $
*/
#ifndef __DEVICE_H
@@ -186,6 +186,9 @@ public:
///< Returns true if this device can provide the given source.
virtual bool ProvidesTransponder(const cChannel *Channel) const;
///< XXX -> PLUGINS.html!
+ virtual bool ProvidesTransponderExclusively(const cChannel *Channel) const;
+ ///< Returns true if this is the only device that is able to provide
+ ///< the given channel's transponder.
virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsDetachReceivers = NULL) const;
///< Returns true if this device can provide the given channel.
///< In case the device has cReceivers attached to it or it is the primary
@@ -500,6 +503,8 @@ public:
///< Attaches the given receiver to this device.
void Detach(cReceiver *Receiver);
///< Detaches the given receiver from this device.
+ void DetachAll(int Pid);
+ ///< Detaches all receivers from this device for this pid.
};
/// Derived cDevice classes that can receive channels will have to provide