summaryrefslogtreecommitdiff
path: root/channels.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-10-20 12:28:55 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-10-20 12:28:55 +0200
commitac9622bb8ad8d660fca4e77460c970f72c344afa (patch)
tree9738265846abf2c1a491cfec77a4e55f434297be /channels.c
parentab4ceb29a033f8a3cc051d5ea9a6f20ca6e75f8a (diff)
downloadvdr-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.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/channels.c b/channels.c
index 5dd4b742..e142a28f 100644
--- a/channels.c
+++ b/channels.c
@@ -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;
-}