From df0e2f0dc8f4fbd31faa6c207931adde4dbe2f0c Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 9 Feb 2008 16:28:15 +0100 Subject: The section handler is now stopped before the device is destroyed --- device.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'device.h') 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. -- cgit v1.2.3