From 44a71ffe8a0d62c0313481aba7dffd6fce362eb0 Mon Sep 17 00:00:00 2001 From: schmirl Date: Tue, 23 Jun 2009 10:26:54 +0000 Subject: added cDevice::NumProvidedSystems() which was introduced in VDR 1.7.0 Modified Files: HISTORY client/device.h --- client/device.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client') 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); -- cgit v1.2.3