2007-09-14 15:44:25 +00: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() {}
|
2009-02-26 16:04:12 +02:00
|
|
|
virtual int Read(unsigned char* BufferAddr, unsigned int BufferLen) = 0;
|
2007-10-19 22:18:55 +00:00
|
|
|
virtual bool Set(const char* Location, const int Parameter, const int Index) = 0;
|
2007-09-14 15:44:25 +00:00
|
|
|
virtual bool Open(void) = 0;
|
|
|
|
virtual bool Close(void) = 0;
|
2007-10-07 22:54:09 +00:00
|
|
|
virtual cString GetInformation(void) = 0;
|
2007-09-14 15:44:25 +00:00
|
|
|
|
|
|
|
private:
|
2008-01-30 21:57:33 +00:00
|
|
|
cIptvProtocolIf(const cIptvProtocolIf&);
|
|
|
|
cIptvProtocolIf& operator=(const cIptvProtocolIf&);
|
2007-09-14 15:44:25 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __IPTV_PROTOCOLIF_H
|