From 4c7b2ea69b26a0f914ce919892a421d9e7111c9c Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Mon, 2 Apr 2012 19:15:53 +0300 Subject: [PATCH] Added cIptvDevice::DeviceType() and updated HISTORY. --- HISTORY | 6 ++++-- device.c | 6 ++++++ device.h | 1 + 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/HISTORY b/HISTORY index 9569d30..9df6a9f 100644 --- a/HISTORY +++ b/HISTORY @@ -159,10 +159,12 @@ VDR Plugin 'iptv' Revision History - Added support for LDFLAGS. - Added cppcheck target into Makefile. -2012-xx-xx: Version 0.5.1 +2012-04-02: Version 0.5.1 - Updated for vdr-1.7.27. -- Fixed some channel switching bugs. +- Updated Makefile. +- Silenced compilation warnings. +- Fixed channel switching bugs. - Added support for a service interface. - Changed UDP protocol to always utilize the source address validation. diff --git a/device.c b/device.c index b1b7180..63bdaa7 100644 --- a/device.c +++ b/device.c @@ -185,6 +185,12 @@ cString cIptvDevice::GetInformation(unsigned int Page) return info; } +cString cIptvDevice::DeviceType(void) const +{ + debug("cIptvDevice::DeviceType(%d)\n", deviceIndex); + return "IPTV"; +} + cString cIptvDevice::DeviceName(void) const { debug("cIptvDevice::DeviceName(%d)\n", deviceIndex); diff --git a/device.h b/device.h index d648eee..b23f741 100644 --- a/device.h +++ b/device.h @@ -76,6 +76,7 @@ private: bool IsBlackListed(u_short Pid, u_char Tid, u_char Mask) const; // for channel info + virtual cString DeviceType(void) const; virtual cString DeviceName(void) const; virtual int SignalStrength(void) const; virtual int SignalQuality(void) const;