diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-05-01 16:29:46 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-05-01 16:29:46 +0200 |
commit | eff7aa4a3d2247ee3c44031e6bf5d745723cc5ce (patch) | |
tree | 398ba3859a89204ba24fe1e47ca5eab815745ed1 /config.h | |
parent | f7ac74ede445b099e8fa97a15674f2b4ecde279a (diff) | |
download | vdr-eff7aa4a3d2247ee3c44031e6bf5d745723cc5ce.tar.gz vdr-eff7aa4a3d2247ee3c44031e6bf5d745723cc5ce.tar.bz2 |
Prepared for more than one DVB card
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.4 2000/04/24 09:44:17 kls Exp $ + * $Id: config.h 1.5 2000/05/01 10:45:17 kls Exp $ */ #ifndef __CONFIG_H @@ -14,6 +14,7 @@ #include <stdio.h> #include <string.h> #include <time.h> +#include "dvbapi.h" #include "tools.h" #define MaxBuffer 1000 @@ -79,8 +80,9 @@ public: cChannel(const cChannel *Channel); bool Parse(char *s); bool Save(FILE *f); - bool Switch(void); - static bool SwitchTo(int i); + bool Switch(cDvbApi *DvbApi = NULL); + static bool SwitchTo(int i, cDvbApi *DvbApi = NULL); + static const char *GetChannelName(int i); }; class cTimer : public cListObject { |