summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'dvbapi.h')
-rw-r--r--dvbapi.h18
1 files changed, 17 insertions, 1 deletions
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: