vdr-plugin-streamdev/client/filter.h

36 lines
731 B
C
Raw Normal View History

2004-12-30 23:43:55 +01:00
/*
* $Id: filter.h,v 1.5 2008/04/07 14:27:28 schmirl Exp $
2004-12-30 23:43:55 +01:00
*/
#ifndef VDR_STREAMDEV_FILTER_H
#define VDR_STREAMDEV_FILTER_H
#include <vdr/config.h>
#include <vdr/tools.h>
#include <vdr/thread.h>
class cTSBuffer;
class cStreamdevFilter;
class cClientSocket;
2004-12-30 23:43:55 +01:00
class cStreamdevFilters: public cList<cStreamdevFilter>, public cThread {
private:
cClientSocket *m_ClientSocket;
cTSBuffer *m_TSBuffer;
2004-12-30 23:43:55 +01:00
protected:
virtual void Action(void);
void CarbageCollect(void);
2004-12-30 23:43:55 +01:00
bool ReActivateFilters(void);
2004-12-30 23:43:55 +01:00
public:
cStreamdevFilters(cClientSocket *ClientSocket);
2004-12-30 23:43:55 +01:00
virtual ~cStreamdevFilters();
void SetConnection(int Handle);
2004-12-30 23:43:55 +01:00
int OpenFilter(u_short Pid, u_char Tid, u_char Mask);
};
#endif // VDR_STREAMDEV_FILTER_H