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.
|
|
|
|
*
|
2007-09-15 23:27:00 +02:00
|
|
|
* $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;
|
2007-09-15 23:27:00 +02:00
|
|
|
unsigned int bufferPrefillRatio;
|
2007-09-15 17:38:38 +02:00
|
|
|
public:
|
|
|
|
cIptvConfig();
|
|
|
|
unsigned int GetBufferSizeMB(void) { return bufferSizeMB; }
|
2007-09-15 23:27:00 +02:00
|
|
|
unsigned int GetBufferPrefillRatio(void) { return bufferPrefillRatio; }
|
2007-09-15 17:38:38 +02:00
|
|
|
void SetBufferSizeMB(unsigned int Size) { bufferSizeMB = Size; }
|
2007-09-15 23:27:00 +02:00
|
|
|
void SetBufferPrefillRatio(unsigned int Ratio) { bufferPrefillRatio = Ratio; }
|
2007-09-15 17:38:38 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
extern cIptvConfig IptvConfig;
|
|
|
|
|
|
|
|
#endif // __IPTV_CONFIG_H
|