summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-08-26 13:09:01 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-08-26 13:09:01 +0200
commit4986f76b0a40e11997e572a75260034063023cb0 (patch)
tree7a73146d9b3529f9a00038f76b9a82f327490b1f /device.h
parent021778d370257e1db4893ca0228bb6fa32aa32e1 (diff)
downloadvdr-4986f76b0a40e11997e572a75260034063023cb0.tar.gz
vdr-4986f76b0a40e11997e572a75260034063023cb0.tar.bz2
Added cDevice::ReadFilter()
Diffstat (limited to 'device.h')
-rw-r--r--device.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/device.h b/device.h
index f279fda3..89a65694 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 2.39 2012/04/04 09:48:21 kls Exp $
+ * $Id: device.h 2.40 2012/08/26 12:56:14 kls Exp $
*/
#ifndef __DEVICE_H
@@ -393,6 +393,10 @@ public:
///< Opens a file handle for the given filter data.
///< A derived device that provides section data must
///< implement this function.
+ virtual int ReadFilter(int Handle, void *Buffer, size_t Length);
+ ///< Reads data from a handle for the given filter.
+ ///< A derived class need not implement this function, because this
+ ///< is done by the default implementation.
virtual void CloseFilter(int Handle);
///< Closes a file handle that has previously been opened
///< by OpenFilter(). If this is as simple as calling close(Handle),