mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Avoiding ambiguities in the cList template class in case one defines a 'list of lists'
This commit is contained in:
parent
8162e30e1b
commit
0fac78954c
@ -128,6 +128,8 @@ Stefan Huelswitt <huels@iname.com>
|
|||||||
with CAMs and AC3 sound only working the first time
|
with CAMs and AC3 sound only working the first time
|
||||||
for making the main loop take an active video cutting process into account when
|
for making the main loop take an active video cutting process into account when
|
||||||
doing shutdown or housekeeping
|
doing shutdown or housekeeping
|
||||||
|
for making the cList template class avoid ambiguities in case one defines a "list of
|
||||||
|
lists"
|
||||||
|
|
||||||
Ulrich Röder <roeder@efr-net.de>
|
Ulrich Röder <roeder@efr-net.de>
|
||||||
for pointing out that there are channels that have a symbol rate higher than
|
for pointing out that there are channels that have a symbol rate higher than
|
||||||
|
2
HISTORY
2
HISTORY
@ -1262,3 +1262,5 @@ Video Disk Recorder Revision History
|
|||||||
is the actual implementation for the DVB hardware. This is in preparation for
|
is the actual implementation for the DVB hardware. This is in preparation for
|
||||||
allowing additional kinds of OSD hardware implementations.
|
allowing additional kinds of OSD hardware implementations.
|
||||||
- Fixed leftover references to the file FORMATS in MANUAL and svdrp.c.
|
- 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).
|
||||||
|
6
tools.h
6
tools.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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
|
#ifndef __TOOLS_H
|
||||||
@ -147,8 +147,8 @@ public:
|
|||||||
T *Get(int Index) const { return (T *)cListBase::Get(Index); }
|
T *Get(int Index) const { return (T *)cListBase::Get(Index); }
|
||||||
T *First(void) const { return (T *)objects; }
|
T *First(void) const { return (T *)objects; }
|
||||||
T *Last(void) const { return (T *)lastObject; }
|
T *Last(void) const { return (T *)lastObject; }
|
||||||
T *Prev(const T *object) const { return (T *)object->Prev(); }
|
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->Next(); }
|
T *Next(const T *object) const { return (T *)object->cListObject::Next(); } // avoid ambiguities in case of a "list of lists"
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif //__TOOLS_H
|
#endif //__TOOLS_H
|
||||||
|
Loading…
Reference in New Issue
Block a user