From 1eb12b4973033212b39a53249d8fb452e6914a8a Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 14 Mar 2010 11:56:00 +0100 Subject: Version 1.7.14 - Fixed handling empty strings in cSource::FromString(). - Assigned the source character 'I' to "IPTV" (suggested by Rolf Ahrenberg). - Assigned the source character 'V' to "Analog Video" (suggested by Lars Hanisch). This obsoletes the ANALOGTV patch. - Added support for ATSC devices (thanks to Alex Lasnier). This obsoletes the ATSC patch. - The "Source" item in the "Edit channel" menu now wraps around the list of sources (suggested by Halim Sahin). - Fixed editing channel parameters. - The new setup option "Recording/Delete timeshift recording" controls whether a timeshift recording is automatically deleted after viewing it. This obsoletes the DELTIMESHIFTREC patch. Note that the meaning of the values for this option is different from the DELTIMESHIFTREC patch: 0 means timeshift recordings are not automatically deleted (the default behavior as in previous versions), while 1 means to ask the user whether the recording shall be deleted. - Added cChannel::IsSourceType() to test if a channel's source is of a given type. - Changed the polarization characters in cDvbSourceParam::GetOsdItem() to uppercase. - The full timer file name is now displayed if it ends with "TITLE" or "EPISODE" (pointed out by Udo Richter). - Fixed "attempt to drop wrong frame from ring buffer" when skipping +/- one minute during replay. - The new setup option "Folders in timer menu" controls whether the file names in the timer menu are shown with their full folder path. --- channels.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'channels.h') diff --git a/channels.h b/channels.h index 4ed1358..5c9727f 100644 --- a/channels.h +++ b/channels.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: channels.h 2.8 2010/02/21 14:05:49 kls Exp $ + * $Id: channels.h 2.10 2010/03/07 13:47:13 kls Exp $ */ #ifndef __CHANNELS_H @@ -172,9 +172,11 @@ public: const char *Parameters(void) const { return parameters; } const cLinkChannels* LinkChannels(void) const { return linkChannels; } const cChannel *RefChannel(void) const { return refChannel; } + bool IsAtsc(void) const { return cSource::IsAtsc(source); } bool IsCable(void) const { return cSource::IsCable(source); } bool IsSat(void) const { return cSource::IsSat(source); } bool IsTerr(void) const { return cSource::IsTerr(source); } + bool IsSourceType(char Source) const { return cSource::IsType(source, Source); } tChannelID GetChannelID(void) const { return tChannelID(source, nid, (nid || tid) ? tid : Transponder(), sid, rid); } bool HasTimer(void) const; int Modification(int Mask = CHANNELMOD_ALL); -- cgit v1.2.3