summaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2003-05-03 14:55:17 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2003-05-03 14:55:17 +0200
commitf1e5b591bd28c8acd852cad723459991c81d89b9 (patch)
tree2fbc47ef69af85c35d2e61beeaf32455b44f44c9 /status.c
parent2cd7928fc6dcffa61298d15d0bde21cd6d856868 (diff)
downloadvdr-f1e5b591bd28c8acd852cad723459991c81d89b9.tar.gz
vdr-f1e5b591bd28c8acd852cad723459991c81d89b9.tar.bz2
Added cStatus::OsdItem() to provide the entire list of menu items to a plugin
Diffstat (limited to 'status.c')
-rw-r--r--status.c8
1 files changed, 7 insertions, 1 deletions
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))