vdr-plugin-iptv/config.h

31 lines
766 B
C
Raw Normal View History

2007-09-15 17:38:38 +02:00
/*
* config.h: IPTV plugin for the Video Disk Recorder
*
* See the README file for copyright information and how to reach the author.
*
* $Id: config.h,v 1.2 2007/09/15 21:27:00 rahrenbe Exp $
2007-09-15 17:38:38 +02:00
*/
#ifndef __IPTV_CONFIG_H
#define __IPTV_CONFIG_H
#include <vdr/menuitems.h>
#include "config.h"
class cIptvConfig
{
protected:
unsigned int bufferSizeMB;
unsigned int bufferPrefillRatio;
2007-09-15 17:38:38 +02:00
public:
cIptvConfig();
unsigned int GetBufferSizeMB(void) { return bufferSizeMB; }
unsigned int GetBufferPrefillRatio(void) { return bufferPrefillRatio; }
2007-09-15 17:38:38 +02:00
void SetBufferSizeMB(unsigned int Size) { bufferSizeMB = Size; }
void SetBufferPrefillRatio(unsigned int Ratio) { bufferPrefillRatio = Ratio; }
2007-09-15 17:38:38 +02:00
};
extern cIptvConfig IptvConfig;
#endif // __IPTV_CONFIG_H