diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-19 16:49:14 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-11-19 16:49:14 +0100 |
commit | fd464518b660fb2b0a2eb98d744e3ac145aefdd0 (patch) | |
tree | 8b92da4ae09b482d9403ae52180ae41206907a62 /dvbapi.h | |
parent | 061f344ffac709d590e4da387641f66a308deb3a (diff) | |
download | vdr-fd464518b660fb2b0a2eb98d744e3ac145aefdd0.tar.gz vdr-fd464518b660fb2b0a2eb98d744e3ac145aefdd0.tar.bz2 |
Implemented 'Transfer Mode'0.6.8
Diffstat (limited to 'dvbapi.h')
-rw-r--r-- | dvbapi.h | 18 |
1 files changed, 17 insertions, 1 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.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: |