From e45b9d0be31116209ce6d90ff77834d9b13c6b9b Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 14 Sep 2003 11:05:44 +0200 Subject: [PATCH] Made cOsdMenu::Display() virtual --- CONTRIBUTORS | 2 ++ HISTORY | 2 ++ osd.h | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 74543598..0c09732d 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -601,6 +601,8 @@ Sven Goethel Jan Rieger 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 for introducing "Doxygen" to document the VDR source code diff --git a/HISTORY b/HISTORY index c95dbb6b..bf2eedbe 100644 --- a/HISTORY +++ b/HISTORY @@ -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). diff --git a/osd.h b/osd.h index e1efd336..3835b093 100644 --- a/osd.h +++ b/osd.h @@ -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); };