summaryrefslogtreecommitdiff
path: root/PLUGINS/src/pictures/player.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-04-28 13:09:42 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-04-28 13:09:42 +0200
commit97e242d1b54e0bfac3455ddeded37136156fea36 (patch)
treee82354fa113c552f0bddb1c1a3d1c209ac8258c3 /PLUGINS/src/pictures/player.c
parent109586571a3cd6b011b6c2e348e3403a0d37c081 (diff)
downloadvdr-97e242d1b54e0bfac3455ddeded37136156fea36.tar.gz
vdr-97e242d1b54e0bfac3455ddeded37136156fea36.tar.bz2
The new functions cControl::GetRecording() and cControl::GetHeader() can be used to retrieve information about what the current player is playing
Diffstat (limited to 'PLUGINS/src/pictures/player.c')
-rw-r--r--PLUGINS/src/pictures/player.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/PLUGINS/src/pictures/player.c b/PLUGINS/src/pictures/player.c
index 4b289ac9..6048d4cb 100644
--- a/PLUGINS/src/pictures/player.c
+++ b/PLUGINS/src/pictures/player.c
@@ -3,7 +3,7 @@
*
* See the README file for copyright information and how to reach the author.
*
- * $Id: player.c 2.1 2011/02/20 17:15:25 kls Exp $
+ * $Id: player.c 2.2 2012/04/28 11:58:15 kls Exp $
*/
#include "player.h"
@@ -204,6 +204,11 @@ void cPictureControl::DisplayCaption(void)
osd->Flush();
}
+cString cPictureControl::GetHeader(void)
+{
+ return tr("Pictures");
+}
+
eOSState cPictureControl::ProcessKey(eKeys Key)
{
switch (Key) {