summaryrefslogtreecommitdiff
path: root/PLUGINS.html
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2007-10-13 12:57:15 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2007-10-13 12:57:15 +0200
commit913d4657c75c3005880a0fdb59a902a390f1fc05 (patch)
treedec7783ec5868ae1c2e4ac418e0fd531589687f7 /PLUGINS.html
parentecc90d55bb3eca6b5aecbd81679da9b07957949d (diff)
downloadvdr-913d4657c75c3005880a0fdb59a902a390f1fc05.tar.gz
vdr-913d4657c75c3005880a0fdb59a902a390f1fc05.tar.bz2
Fixed description of DeviceSetAvailableTrack() and cReceiver(), and added an example ~cMyReceiver() in PLUGINS.html
Diffstat (limited to 'PLUGINS.html')
-rw-r--r--PLUGINS.html16
1 files changed, 14 insertions, 2 deletions
diff --git a/PLUGINS.html b/PLUGINS.html
index 1dff44c7..134bd8f2 100644
--- a/PLUGINS.html
+++ b/PLUGINS.html
@@ -1328,7 +1328,9 @@ A player that has special requirements about audio tracks should announce its
available audio tracks by calling
<p><table><tr><td bgcolor=#F0F0F0><pre>
-bool DeviceSetAvailableTrack(eTrackType Type, int Index, uint16_t Id, const char *Language = NULL, uint32_t Flags = 0)
+<!--X1.5.10--><table width=100%><tr><td bgcolor=#FF0000>&nbsp;</td><td width=100%>
+bool DeviceSetAvailableTrack(eTrackType Type, int Index, uint16_t Id, const char *Language = NULL, const char *Description = NULL)
+<!--X1.5.10--></td></tr></table>
</pre></td></tr></table><p>
See <tt>device.h</tt> for details about the parameters for track handling.
@@ -1454,10 +1456,20 @@ public:
};
cMyReceiver::cMyReceiver(int Pid)
-:cReceiver(0, -1, Pid)
+<!--X1.5.10--><table width=100%><tr><td bgcolor=#FF0000>&nbsp;</td><td width=100%>
+:cReceiver(tChannelID(), -1, Pid)
+<!--X1.5.10--></td></tr></table>
{
}
+<!--X1.5.10--><table width=100%><tr><td bgcolor=#FF0000>&nbsp;</td><td width=100%><pre>
+cMyReceiver::~cMyReceiver()
+{
+ cReceiver::Detach();
+ ...
+}
+<!--X1.5.10--></pre></td></tr></table>
+
void cMyReceiver::Activate(bool On)
{
// start your own thread for processing the received data