summaryrefslogtreecommitdiff
path: root/sections.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2004-01-11 15:54:37 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2004-01-11 15:54:37 +0100
commit7f9d14ee8b181a999afb997d74a24b3087fd9d33 (patch)
tree8c1c2238cb7137033ae68ba7d4e32a3d7a22f548 /sections.h
parent43ca916c20a72c9b47a15c460cced63b5c19c286 (diff)
downloadvdr-7f9d14ee8b181a999afb997d74a24b3087fd9d33.tar.gz
vdr-7f9d14ee8b181a999afb997d74a24b3087fd9d33.tar.bz2
The actual transponder data is now taken from the NIT1.3.1
Diffstat (limited to 'sections.h')
-rw-r--r--sections.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/sections.h b/sections.h
index a62a2f71..670f7853 100644
--- a/sections.h
+++ b/sections.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: sections.h 1.2 2004/01/10 11:42:49 kls Exp $
+ * $Id: sections.h 1.3 2004/01/11 13:18:38 kls Exp $
*/
#ifndef __SECTIONS_H
@@ -16,15 +16,16 @@
#include "tools.h"
class cDevice;
+class cChannel;
class cFilterHandle;
+class cSectionHandlerPrivate;
class cSectionHandler : public cThread {
friend class cFilter;
private:
+ cSectionHandlerPrivate *shp;
cDevice *device;
bool active;
- int source;
- int transponder;
int statusCount;
bool on;
time_t lastIncompleteSection;
@@ -36,11 +37,12 @@ private:
public:
cSectionHandler(cDevice *Device);
virtual ~cSectionHandler();
- int Source(void) { return source; }
- int Transponder(void) { return transponder; }
+ int Source(void);
+ int Transponder(void);
+ const cChannel *Channel(void);
void Attach(cFilter *Filter);
void Detach(cFilter *Filter);
- void SetSource(int Source, int Transponder);
+ void SetChannel(const cChannel *Channel);
void SetStatus(bool On);
};