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.
|
|
|
|
*
|
2007-10-20 00:18:55 +02:00
|
|
|
* $Id: protocolif.h,v 1.7 2007/10/19 22:18:55 rahrenbe Exp $
|
2007-09-14 17:44:25 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __IPTV_PROTOCOLIF_H
|
|
|
|
#define __IPTV_PROTOCOLIF_H
|
|
|
|
|
|
|
|
class cIptvProtocolIf {
|
|
|
|
public:
|
|
|
|
cIptvProtocolIf() {}
|
|
|
|
virtual ~cIptvProtocolIf() {}
|
2007-09-15 23:27:00 +02:00
|
|
|
virtual int Read(unsigned char* *BufferAddr) = 0;
|
2007-10-20 00:18:55 +02:00
|
|
|
virtual bool Set(const char* Location, const int Parameter, const int Index) = 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:
|
|
|
|
cIptvProtocolIf(const cIptvProtocolIf&);
|
|
|
|
cIptvProtocolIf& operator=(const cIptvProtocolIf&);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // __IPTV_PROTOCOLIF_H
|