summaryrefslogtreecommitdiff
path: root/filter.h
diff options
context:
space:
mode:
Diffstat (limited to 'filter.h')
-rw-r--r--filter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/filter.h b/filter.h
index 1696e6e2..9bd163fe 100644
--- a/filter.h
+++ b/filter.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: filter.h 1.2 2004/01/05 14:29:49 kls Exp $
+ * $Id: filter.h 1.3 2004/01/11 13:31:59 kls Exp $
*/
#ifndef __FILTER_H
@@ -35,6 +35,7 @@ public:
bool Matches(u_short Pid, u_char Tid);
};
+class cChannel;
class cSectionHandler;
class cFilter : public cListObject {
@@ -69,6 +70,8 @@ protected:
///< Returns the source of the data delivered to this filter.
int Transponder(void);
///< Returns the transponder of the data delivered to this filter.
+ const cChannel *Channel(void);
+ ///< Returns the channel of the data delivered to this filter.
bool Matches(u_short Pid, u_char Tid);
///< Indicates whether this filter wants to receive data from the given Pid/Tid.
void Set(u_short Pid, u_char Tid, u_char Mask = 0xFF);