summaryrefslogtreecommitdiff
path: root/device.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-02-09 16:28:15 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-02-09 16:28:15 +0100
commitdf0e2f0dc8f4fbd31faa6c207931adde4dbe2f0c (patch)
treed3679cca719c54acef4bcda41c44117220254170 /device.h
parent7ad17726d81f586307bcfba2cc9c05af0e7b6ef0 (diff)
downloadvdr-df0e2f0dc8f4fbd31faa6c207931adde4dbe2f0c.tar.gz
vdr-df0e2f0dc8f4fbd31faa6c207931adde4dbe2f0c.tar.bz2
The section handler is now stopped before the device is destroyed
Diffstat (limited to 'device.h')
-rw-r--r--device.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/device.h b/device.h
index 34e6771e..48e31123 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 1.88 2008/02/08 13:48:31 kls Exp $
+ * $Id: device.h 1.89 2008/02/09 16:05:24 kls Exp $
*/
#ifndef __DEVICE_H
@@ -302,7 +302,12 @@ private:
protected:
void StartSectionHandler(void);
///< A derived device that provides section data must call
- ///< this function to actually set up the section handler.
+ ///< this function (typically in its constructor) to actually set
+ ///< up the section handler.
+ void StopSectionHandler(void);
+ ///< A device that has called StartSectionHandler() must call this
+ ///< function (typically in its destructor) to stop the section
+ ///< handler.
public:
virtual int OpenFilter(u_short Pid, u_char Tid, u_char Mask);
///< Opens a file handle for the given filter data.