From 803c6c6bf6340302f78171892bef599aa272c266 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 11 May 2002 18:00:00 +0200 Subject: Version 1.1.1 - Separated the actual DVB hardware OSD implementation from the abstract OSD interface. 'osdbase.c/.h' now implements the abstract OSD, while 'dvbosd.c/.h' is the actual implementation for the DVB hardware. This is in preparation for allowing additional kinds of OSD hardware implementations. - Fixed leftover references to the file FORMATS in MANUAL and svdrp.c. - Avoiding ambiguities in the cList template class in case one defines a "list of lists" (thanks to Stefan Huelswitt). - Simplified the basic cMenuSetupPage class for easier use in plugins. - Added setup parameters and a Setup menu to the 'hello' plugin example. - Fixed logging error message for unknown config parameters in plugins. - Rearranged cleanup sequence at the end of the main program. - Adapted PLUGINS.html to use the actual code examples from the 'hello' plugin. --- tools.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools.h') diff --git a/tools.h b/tools.h index 08a5672..bf064ce 100644 --- a/tools.h +++ b/tools.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.h 1.42 2002/02/17 12:57:44 kls Exp $ + * $Id: tools.h 1.43 2002/05/11 08:35:47 kls Exp $ */ #ifndef __TOOLS_H @@ -147,8 +147,8 @@ public: T *Get(int Index) const { return (T *)cListBase::Get(Index); } T *First(void) const { return (T *)objects; } T *Last(void) const { return (T *)lastObject; } - T *Prev(const T *object) const { return (T *)object->Prev(); } - T *Next(const T *object) const { return (T *)object->Next(); } + T *Prev(const T *object) const { return (T *)object->cListObject::Prev(); } // need to call cListObject's members to + T *Next(const T *object) const { return (T *)object->cListObject::Next(); } // avoid ambiguities in case of a "list of lists" }; #endif //__TOOLS_H -- cgit v1.2.3