summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-11-05 18:39:17 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2000-11-05 18:39:17 +0100
commiteefbcf5216ee5bcb93b60b5aaf22ccefccc64732 (patch)
treeb963ae588b8c33e001ffa4d7cb89cfdbb8d01b85 /dvbapi.h
parentea0bd668c8326a90cc4727004780abe14bab1edc (diff)
downloadvdr-eefbcf5216ee5bcb93b60b5aaf22ccefccc64732.tar.gz
vdr-eefbcf5216ee5bcb93b60b5aaf22ccefccc64732.tar.bz2
Current channel is now device specific
Diffstat (limited to 'dvbapi.h')
-rw-r--r--dvbapi.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/dvbapi.h b/dvbapi.h
index 6c0b50e7..aa8dbcf3 100644
--- a/dvbapi.h
+++ b/dvbapi.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: dvbapi.h 1.21 2000/11/05 12:40:07 kls Exp $
+ * $Id: dvbapi.h 1.22 2000/11/05 13:39:31 kls Exp $
*/
#ifndef __DVBAPI_H
@@ -138,7 +138,11 @@ public:
// Channel facilities
- bool SetChannel(int FrequencyMHz, char Polarization, int Diseqc, int Srate, int Vpid, int Apid, int Ca, int Pnr);
+private:
+ int currentChannel;
+public:
+ bool SetChannel(int ChannelNumber, int FrequencyMHz, char Polarization, int Diseqc, int Srate, int Vpid, int Apid, int Ca, int Pnr);
+ static int CurrentChannel(void) { return PrimaryDvbApi ? PrimaryDvbApi->currentChannel : 0; }
// Record/Replay facilities