diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-08 11:44:45 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2001-09-08 11:44:45 +0200 |
commit | 0c8cc01b1a29d7a7647562ab7be58b0044a9dcae (patch) | |
tree | 4ac3c15d0928ea9d20377f4041ed7059fb72c218 /dvbapi.h | |
parent | 3b6782a774510608efcca20bdd703c83151e85e8 (diff) | |
download | vdr-0c8cc01b1a29d7a7647562ab7be58b0044a9dcae.tar.gz vdr-0c8cc01b1a29d7a7647562ab7be58b0044a9dcae.tar.bz2 |
Error message if Transfer Mode can't be started
Diffstat (limited to 'dvbapi.h')
-rw-r--r-- | dvbapi.h | 6 |
1 files changed, 4 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.47 2001/08/25 13:37:00 kls Exp $ + * $Id: dvbapi.h 1.48 2001/09/08 11:35:25 kls Exp $ */ #ifndef __DVBAPI_H @@ -56,6 +56,8 @@ const char *IndexToHMSF(int Index, bool WithFrame = false); int HMSFToIndex(const char *HMSF); // Converts the given string (format: "hh:mm:ss.ff") to an index. +enum eSetChannelResult { scrOk, scrNoTransfer, scrFailed }; + class cChannel; class cRecordBuffer; @@ -203,7 +205,7 @@ public: private: int currentChannel; public: - bool SetChannel(int ChannelNumber, int FrequencyMHz, char Polarization, int Diseqc, int Srate, int Vpid, int Apid1, int Apid2, int Dpid1, int Dpid2, int Tpid, int Ca, int Pnr); + eSetChannelResult SetChannel(int ChannelNumber, int FrequencyMHz, char Polarization, int Diseqc, int Srate, int Vpid, int Apid1, int Apid2, int Dpid1, int Dpid2, int Tpid, int Ca, int Pnr); static int CurrentChannel(void) { return PrimaryDvbApi ? PrimaryDvbApi->currentChannel : 0; } int Channel(void) { return currentChannel; } |