summaryrefslogtreecommitdiff
path: root/client/device.h
diff options
context:
space:
mode:
authorschmirl <schmirl>2009-06-23 10:26:54 +0000
committerschmirl <schmirl>2009-06-23 10:26:54 +0000
commit44a71ffe8a0d62c0313481aba7dffd6fce362eb0 (patch)
tree2b1b88e2260db5e1ee460d8b6af97dd878f0a1e9 /client/device.h
parent008e7c851013722a377aa9ff4485d4af2d991883 (diff)
downloadvdr-plugin-streamdev-44a71ffe8a0d62c0313481aba7dffd6fce362eb0.tar.gz
vdr-plugin-streamdev-44a71ffe8a0d62c0313481aba7dffd6fce362eb0.tar.bz2
added cDevice::NumProvidedSystems() which was introduced in VDR 1.7.0
Modified Files: HISTORY client/device.h
Diffstat (limited to 'client/device.h')
-rw-r--r--client/device.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/device.h b/client/device.h
index 8263fa5..e96b05f 100644
--- a/client/device.h
+++ b/client/device.h
@@ -1,5 +1,5 @@
/*
- * $Id: device.h,v 1.8 2008/10/02 07:14:47 schmirl Exp $
+ * $Id: device.h,v 1.9 2009/06/23 10:26:54 schmirl Exp $
*/
#ifndef VDR_STREAMDEV_DEVICE_H
@@ -54,6 +54,9 @@ public:
virtual bool ProvidesTransponder(const cChannel *Channel) const;
virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1,
bool *NeedsDetachReceivers = NULL) const;
+#if APIVERSNUM >= 10700
+ virtual int NumProvidedSystems(void) const { return 1; }
+#endif
virtual bool IsTunedToTransponder(const cChannel *Channel);
static bool Init(void);