summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/menu.c b/menu.c
index 97dbef49..9a2b23aa 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 2.52 2012/04/25 09:42:54 kls Exp $
+ * $Id: menu.c 2.53 2012/04/28 11:13:09 kls Exp $
*/
#include "menu.h"
@@ -4773,6 +4773,13 @@ cOsdObject *cReplayControl::GetInfo(void)
return NULL;
}
+const cRecording *cReplayControl::GetRecording(void)
+{
+ if (const cRecording *Recording = Recordings.GetByName(LastReplayed()))
+ return Recording;
+ return NULL;
+}
+
eOSState cReplayControl::ProcessKey(eKeys Key)
{
if (!Active())