From fd464518b660fb2b0a2eb98d744e3ac145aefdd0 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sun, 19 Nov 2000 16:49:14 +0100 Subject: Implemented 'Transfer Mode' --- dvbapi.h | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'dvbapi.h') diff --git a/dvbapi.h b/dvbapi.h index 2b536bdc..f6640ff5 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.25 2000/11/18 15:30:09 kls Exp $ + * $Id: dvbapi.h 1.26 2000/11/19 14:09:41 kls Exp $ */ #ifndef __DVBAPI_H @@ -42,6 +42,8 @@ public: bool Save(int Index); }; +class cTransferBuffer; + class cDvbApi { private: int videoDev; @@ -152,6 +154,20 @@ public: static int CurrentChannel(void) { return PrimaryDvbApi ? PrimaryDvbApi->currentChannel : 0; } int Channel(void) { return currentChannel; } + // Transfer facilities + +private: + cTransferBuffer *transferBuffer; + cDvbApi *transferringFromDvbApi; +public: + bool Transferring(void); + // Returns true if we are currently transferring video data. +private: + cDvbApi *StartTransfer(int TransferToVideoDev); + // Starts transferring video data from this DVB device to TransferToVideoDev. + void StopTransfer(void); + // Stops transferring video data (in case a transfer is currently active). + // Record/Replay facilities private: -- cgit v1.2.3