diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-20 12:28:55 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-10-20 12:28:55 +0200 |
commit | ac9622bb8ad8d660fca4e77460c970f72c344afa (patch) | |
tree | 9738265846abf2c1a491cfec77a4e55f434297be /channels.c | |
parent | ab4ceb29a033f8a3cc051d5ea9a6f20ca6e75f8a (diff) | |
download | vdr-ac9622bb8ad8d660fca4e77460c970f72c344afa.tar.gz vdr-ac9622bb8ad8d660fca4e77460c970f72c344afa.tar.bz2 |
Timers now internally have a pointer to their channel
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: channels.c 1.4 2002/10/19 14:46:05 kls Exp $ + * $Id: channels.c 1.5 2002/10/20 11:50:47 kls Exp $ */ #include "channels.h" @@ -450,9 +450,3 @@ bool cChannels::SwitchTo(int Number) cChannel *channel = GetByNumber(Number); return channel && cDevice::PrimaryDevice()->SwitchChannel(channel, true); } - -const char *cChannels::GetChannelNameByNumber(int Number) -{ - cChannel *channel = GetByNumber(Number); - return channel ? channel->Name() : NULL; -} |