summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-01-06 12:53:28 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2006-01-06 12:53:28 +0100
commit700b88bc4db79b94fb6bc4f457f72d870cab9520 (patch)
treefa983ce09b93828457fa1a97a78003df49c92117 /menu.c
parentc0f1fc817ea9e3bbe64b4a9ebbff5ba13c0dd3c9 (diff)
downloadvdr-700b88bc4db79b94fb6bc4f457f72d870cab9520.tar.gz
vdr-700b88bc4db79b94fb6bc4f457f72d870cab9520.tar.bz2
Implemented the "Info" key
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 9548ba4e..a6996f71 100644
--- a/menu.c
+++ b/menu.c
@@ -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())