summaryrefslogtreecommitdiff
path: root/status.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2008-02-16 13:59:09 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2008-02-16 13:59:09 +0100
commit6b35173789c2d97fc6b9dadb780a22316f82c7fb (patch)
tree26c434da20b9a824a8e99ac9c672e228ac785904 /status.h
parent741400fa666f9754337652c624e95aa6bdfaf98c (diff)
downloadvdr-6b35173789c2d97fc6b9dadb780a22316f82c7fb.tar.gz
vdr-6b35173789c2d97fc6b9dadb780a22316f82c7fb.tar.bz2
Implemented the cStatus, cDevice and cPlayer functions for setting subtitle tracks in plugins
Diffstat (limited to 'status.h')
-rw-r--r--status.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/status.h b/status.h
index 65197441..1448151a 100644
--- a/status.h
+++ b/status.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: status.h 1.10 2007/08/12 10:34:40 kls Exp $
+ * $Id: status.h 1.11 2008/02/16 13:50:15 kls Exp $
*/
#ifndef __STATUS_H
@@ -44,6 +44,9 @@ protected:
virtual void SetAudioChannel(int AudioChannel) {}
// The audio channel has been set to the given value.
// 0=stereo, 1=left, 2=right, -1=no information available.
+ virtual void SetSubtitleTrack(int Index, const char * const *Tracks) {}
+ // The subtitle track has been set to the one given by Index, which
+ // points into the Tracks array of strings. Tracks is NULL terminated.
virtual void OsdClear(void) {}
// The OSD has been cleared.
virtual void OsdTitle(const char *Title) {}
@@ -77,6 +80,7 @@ public:
static void MsgSetVolume(int Volume, bool Absolute);
static void MsgSetAudioTrack(int Index, const char * const *Tracks);
static void MsgSetAudioChannel(int AudioChannel);
+ static void MsgSetSubtitleTrack(int Index, const char * const *Tracks);
static void MsgOsdClear(void);
static void MsgOsdTitle(const char *Title);
static void MsgOsdStatusMessage(const char *Message);