diff options
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |