summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-09-14 11:05:44 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-09-14 11:05:44 +0200
commite45b9d0be31116209ce6d90ff77834d9b13c6b9b (patch)
tree4e4d7002d44f0afc05465c673976267467060db0
parent903148b5ad4315c857cbb55060420e81cd1ccf96 (diff)
downloadvdr-e45b9d0be31116209ce6d90ff77834d9b13c6b9b.tar.gz
vdr-e45b9d0be31116209ce6d90ff77834d9b13c6b9b.tar.bz2
Made cOsdMenu::Display() virtual
-rw-r--r--CONTRIBUTORS2
-rw-r--r--HISTORY2
-rw-r--r--osd.h4
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 <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
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);
};