diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-05 18:39:17 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-05 18:39:17 +0100 |
commit | eefbcf5216ee5bcb93b60b5aaf22ccefccc64732 (patch) | |
tree | b963ae588b8c33e001ffa4d7cb89cfdbb8d01b85 /dvbapi.h | |
parent | ea0bd668c8326a90cc4727004780abe14bab1edc (diff) | |
download | vdr-eefbcf5216ee5bcb93b60b5aaf22ccefccc64732.tar.gz vdr-eefbcf5216ee5bcb93b60b5aaf22ccefccc64732.tar.bz2 |
Current channel is now device specific
Diffstat (limited to 'dvbapi.h')
-rw-r--r-- | dvbapi.h | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |