summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2010-04-05 09:52:11 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2010-04-05 09:52:11 +0200
commitc270adfaa5e552f7013038f579541d63e4eba658 (patch)
treece2c6ffe9921fabe1924ba904b30ab81d0996de5
parentdb5c3cd36a3aa5ab57811a830c79ca5ebd3edad1 (diff)
downloadvdr-c270adfaa5e552f7013038f579541d63e4eba658.tar.gz
vdr-c270adfaa5e552f7013038f579541d63e4eba658.tar.bz2
Added a note about not deleting cDeviceHook objects to device.h
-rw-r--r--HISTORY1
-rw-r--r--device.h5
2 files changed, 5 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index cc74c7dd..31781ca8 100644
--- a/HISTORY
+++ b/HISTORY
@@ -6424,3 +6424,4 @@ Video Disk Recorder Revision History
device (as far as the driver allows this).
- Fixed cFrameDetector::Analyze() in case part of the data has been processed and
there is less than MIN_TS_PACKETS_FOR_FRAME_DETECTOR left (reported by Derek Kelly).
+- Added a note about not deleting cDeviceHook objects to device.h.
diff --git a/device.h b/device.h
index 9ce814a1..cb3bc2ca 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.21 2010/02/06 14:34:41 kls Exp $
+ * $Id: device.h 2.22 2010/04/05 09:51:29 kls Exp $
*/
#ifndef __DEVICE_H
@@ -91,6 +91,9 @@ class cLiveSubtitle;
class cDeviceHook : public cListObject {
public:
cDeviceHook(void);
+ ///< Creates a new device hook object.
+ ///< Do not delete this object - it will be automatically deleted when the
+ ///< 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.
};