From 67df515c06774a549078026816a32f8520c08d17 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 14 Oct 2007 13:11:23 +0200 Subject: Added cDevice::CloseFilter(); some fixes to PLUGINS.html --- PLUGINS.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'PLUGINS.html') diff --git a/PLUGINS.html b/PLUGINS.html index 134bd8f2..e34ab0ec 100644 --- a/PLUGINS.html +++ b/PLUGINS.html @@ -1786,7 +1786,7 @@ selecting which channel it shall tune to:

 virtual bool ProvidesSource(int Source) const;
 virtual bool ProvidesTransponder(const cChannel *Channel) const;
-virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsDetachReceivers = NULL);
+virtual bool ProvidesChannel(const cChannel *Channel, int Priority = -1, bool *NeedsDetachReceivers = NULL) const;
 virtual bool SetChannelDevice(const cChannel *Channel, bool LiveView);
 

@@ -1849,7 +1849,7 @@ In addition, the following functions may be implemented to provide further functionality:

-virtual bool GrabImage(const char *FileName, bool Jpeg = true, int Quality = -1, int Si
+virtual bool GrabImage(const char *FileName, bool Jpeg = true, int Quality = -1, int SizeX = -1, int SizeY = -1);
 virtual void SetVideoFormat(bool VideoFormat16_9);
 virtual void SetVolumeDevice(int Volume);
 

@@ -1858,13 +1858,16 @@ virtual void SetVolumeDevice(int Volume); Section Filtering

If your device provides section filtering capabilities it can implement -the function +the functions

 virtual int OpenFilter(u_short Pid, u_char Tid, u_char Mask);
+
  +virtual void CloseFilter(int Handle); +

-which must open a file handle that delivers section data for the given +which must open and close a file handle that delivers section data for the given filter parameters.

In order to actually start section handling, the -- cgit v1.2.3