2007-09-14 17:44:25 +02:00
|
|
|
/*
|
|
|
|
* protocolif.h: IPTV plugin for the Video Disk Recorder
|
|
|
|
*
|
|
|
|
* See the README file for copyright information and how to reach the author.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __IPTV_PROTOCOLIF_H
|
|
|
|
#define __IPTV_PROTOCOLIF_H
|
|
|
|
|
|
|
|
class cIptvProtocolIf {
|
|
|
|
public:
|
|
|
|
cIptvProtocolIf() {}
|
|
|
|
virtual ~cIptvProtocolIf() {}
|
2013-02-23 14:31:11 +01:00
|
|
|
virtual int Read(unsigned char* bufferAddrP, unsigned int bufferLenP) = 0;
|
2014-02-09 18:22:02 +01:00
|
|
|
virtual bool SetSource(const char* locationP, const int parameterP, const int indexP) = 0;
|
|
|
|
virtual bool SetPid(int pidP, int typeP, bool onP) = 0;
|
2007-09-14 17:44:25 +02:00
|
|
|
virtual bool Open(void) = 0;
|
|
|
|
virtual bool Close(void) = 0;
|
2007-10-08 00:54:09 +02:00
|
|
|
virtual cString GetInformation(void) = 0;
|
2007-09-14 17:44:25 +02:00
|
|
|
|
|
|
|
private:
|
2008-01-30 22:57:33 +01:00
|
|
|
cIptvProtocolIf(const cIptvProtocolIf&);
|
|
|
|
cIptvProtocolIf& operator=(const cIptvProtocolIf&);
|
2007-09-14 17:44:25 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __IPTV_PROTOCOLIF_H
|