/* * 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.7 2007/09/29 16:21:05 rahrenbe Exp $ */ #ifndef __IPTV_CONFIG_H #define __IPTV_CONFIG_H #include #include "config.h" class cIptvConfig { protected: unsigned int readBufferTsCount; unsigned int tsBufferSize; unsigned int tsBufferPrefillRatio; unsigned int fileIdleTimeMs; public: cIptvConfig(); unsigned int GetReadBufferTsCount(void) { return readBufferTsCount; } unsigned int GetTsBufferSize(void) { return tsBufferSize; } unsigned int GetTsBufferPrefillRatio(void) { return tsBufferPrefillRatio; } unsigned int GetFileIdleTimeMs(void) { return fileIdleTimeMs; } void SetTsBufferSize(unsigned int Size) { tsBufferSize = Size; } void SetTsBufferPrefillRatio(unsigned int Ratio) { tsBufferPrefillRatio = Ratio; } void SetFileIdleTimeMs(unsigned int TimeMs) { fileIdleTimeMs = TimeMs; } }; extern cIptvConfig IptvConfig; #endif // __IPTV_CONFIG_H