Made cOsdMenu::Display() virtual

This commit is contained in:
Klaus Schmidinger 2003-09-14 11:05:44 +02:00
parent 903148b5ad
commit e45b9d0be3
3 changed files with 6 additions and 2 deletions

View File

@ -601,6 +601,8 @@ Sven Goethel <sgoethel@jausoft.com>
Jan Rieger <jan@ricomp.de>
for suggestions and testing raw keyboard input
for suggesting to make cOsdMenu::Display() virtual, which allows plugins to do some
additional processing after calling the base class function
Walter Stroebel <walter.stroebel@lifeline.nl>
for introducing "Doxygen" to document the VDR source code

View File

@ -2395,3 +2395,5 @@ Video Disk Recorder Revision History
Endriss).
- Added 'repeat' function keys '7' and '9' ("jump to mark") in replay mode
(suggested by Oliver Endriss).
- Made cOsdMenu::Display() virtual, which allows plugins to do some additional
processing after calling the base class function (suggested by Jan Rieger).

4
osd.h
View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: osd.h 1.39 2003/04/21 13:40:45 kls Exp $
* $Id: osd.h 1.40 2003/09/14 10:59:22 kls Exp $
*/
#ifndef __OSD_H
@ -165,7 +165,7 @@ public:
int Current(void) { return current; }
void Add(cOsdItem *Item, bool Current = false, cOsdItem *After = NULL);
void Ins(cOsdItem *Item, bool Current = false, cOsdItem *Before = NULL);
void Display(void);
virtual void Display(void);
virtual eOSState ProcessKey(eKeys Key);
};