summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-05-01 16:29:46 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-05-01 16:29:46 +0200
commiteff7aa4a3d2247ee3c44031e6bf5d745723cc5ce (patch)
tree398ba3859a89204ba24fe1e47ca5eab815745ed1 /config.h
parentf7ac74ede445b099e8fa97a15674f2b4ecde279a (diff)
downloadvdr-eff7aa4a3d2247ee3c44031e6bf5d745723cc5ce.tar.gz
vdr-eff7aa4a3d2247ee3c44031e6bf5d745723cc5ce.tar.bz2
Prepared for more than one DVB card
Diffstat (limited to 'config.h')
-rw-r--r--config.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.h b/config.h
index 42af0f85..a66a2579 100644
--- a/config.h
+++ b/config.h
@@ -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 {