From f1e5b591bd28c8acd852cad723459991c81d89b9 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 3 May 2003 14:55:17 +0200 Subject: Added cStatus::OsdItem() to provide the entire list of menu items to a plugin --- status.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'status.c') diff --git a/status.c b/status.c index 0bc4dd8e..3dbe8543 100644 --- a/status.c +++ b/status.c @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: status.c 1.4 2002/07/13 10:49:34 kls Exp $ + * $Id: status.c 1.5 2003/05/03 14:47:44 kls Exp $ */ #include "status.h" @@ -71,6 +71,12 @@ void cStatus::MsgOsdHelpKeys(const char *Red, const char *Green, const char *Yel sm->OsdHelpKeys(Red, Green, Yellow, Blue); } +void cStatus::MsgOsdItem(const char *Text, int Index) +{ + for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) + sm->OsdItem(Text, Index); +} + void cStatus::MsgOsdCurrentItem(const char *Text) { for (cStatus *sm = statusMonitors.First(); sm; sm = statusMonitors.Next(sm)) -- cgit v1.2.3