diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-06 12:53:28 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-01-06 12:53:28 +0100 |
commit | 700b88bc4db79b94fb6bc4f457f72d870cab9520 (patch) | |
tree | fa983ce09b93828457fa1a97a78003df49c92117 /menu.c | |
parent | c0f1fc817ea9e3bbe64b4a9ebbff5ba13c0dd3c9 (diff) | |
download | vdr-700b88bc4db79b94fb6bc4f457f72d870cab9520.tar.gz vdr-700b88bc4db79b94fb6bc4f457f72d870cab9520.tar.bz2 |
Implemented the "Info" key
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menu.c 1.386 2006/01/05 14:02:45 kls Exp $ + * $Id: menu.c 1.387 2006/01/06 11:44:25 kls Exp $ */ #include "menu.h" @@ -3877,6 +3877,14 @@ void cReplayControl::EditTest(void) } } +cOsdObject *cReplayControl::GetInfo(void) +{ + cRecording *Recording = Recordings.GetByName(cReplayControl::LastReplayed()); + if (Recording) + return new cMenuRecording(Recording); + return NULL; +} + eOSState cReplayControl::ProcessKey(eKeys Key) { if (!Active()) |