summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2020-06-10 14:52:43 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2020-06-10 14:52:43 +0200
commit8a282ef267b73c4d4a6f03e174946fd23692f58e (patch)
treea8b68b301ac4f8a01faa4a39b954dcdc7f6364c6 /device.h
parent709055980e6f6ed76399cdba032eb5094ec117f5 (diff)
downloadvdr-8a282ef267b73c4d4a6f03e174946fd23692f58e.tar.gz
vdr-8a282ef267b73c4d4a6f03e174946fd23692f58e.tar.bz2
Added a device hook for detecting whether a device provides EIT data
Diffstat (limited to 'device.h')
-rw-r--r--device.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/device.h b/device.h
index 76785f4b..bebc2d94 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 4.15 2020/05/04 11:40:44 kls Exp $
+ * $Id: device.h 4.16 2020/06/10 14:52:43 kls Exp $
*/
#ifndef __DEVICE_H
@@ -95,6 +95,8 @@ public:
///< program ends.
virtual bool DeviceProvidesTransponder(const cDevice *Device, const cChannel *Channel) const;
///< Returns true if the given Device can provide the given Channel's transponder.
+ virtual bool DeviceProvidesEIT(const cDevice *Device) const;
+ ///< Returns true if the given Device can provide EIT data.
};
/// The cDevice class is the base from which actual devices can be derived.
@@ -236,6 +238,7 @@ private:
static cList<cDeviceHook> deviceHooks;
protected:
bool DeviceHooksProvidesTransponder(const cChannel *Channel) const;
+ bool DeviceHooksProvidesEIT(void) const;
// SPU facilities