summaryrefslogtreecommitdiff
path: root/device.c
diff options
context:
space:
mode:
Diffstat (limited to 'device.c')
-rw-r--r--device.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/device.c b/device.c
index 9b5f701d..c79f7db3 100644
--- a/device.c
+++ b/device.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: device.c 1.102 2005/06/05 13:28:03 kls Exp $
+ * $Id: device.c 1.103 2005/06/12 13:39:11 kls Exp $
*/
#include "device.h"
@@ -505,6 +505,15 @@ bool cDevice::ProvidesTransponder(const cChannel *Channel) const
return false;
}
+bool cDevice::ProvidesTransponderExclusively(const cChannel *Channel) const
+{
+ for (int i = 0; i < numDevices; i++) {
+ if (device[i] && device[i] != this && device[i]->ProvidesTransponder(Channel))
+ return false;
+ }
+ return true;
+}
+
bool cDevice::ProvidesChannel(const cChannel *Channel, int Priority, bool *NeedsDetachReceivers) const
{
return false;