summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-08-03 14:18:08 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-08-03 14:18:08 +0200
commitbff17fb1d0e39583e44ba93ea214d7434ecef2ce (patch)
treedf3c64f93c4a572feca8de742f2300bfa0f687ee /dvbapi.h
parent1962940c39c1951bd107f63d2e071df58ba0b125 (diff)
downloadvdr-bff17fb1d0e39583e44ba93ea214d7434ecef2ce.tar.gz
vdr-bff17fb1d0e39583e44ba93ea214d7434ecef2ce.tar.bz2
Added support for replaying DVDs
Diffstat (limited to 'dvbapi.h')
-rw-r--r--dvbapi.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/dvbapi.h b/dvbapi.h
index 2203d799..6e118e76 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.42 2001/07/27 11:40:38 kls Exp $
+ * $Id: dvbapi.h 1.43 2001/08/02 14:50:48 kls Exp $
*/
#ifndef __DVBAPI_H
@@ -26,7 +26,9 @@
#include <ost/audio.h>
#include <ost/osd.h>
#include <stdio.h>
+
#include "dvbosd.h"
+#include "dvd.h"
#include "eit.h"
#include "thread.h"
@@ -44,7 +46,9 @@ int HMSFToIndex(const char *HMSF);
class cChannel;
class cRecordBuffer;
+class cPlayBuffer;
class cReplayBuffer;
+class cDVDplayBuffer;
class cTransferBuffer;
class cCuttingBuffer;
@@ -60,6 +64,7 @@ public:
class cDvbApi {
friend class cRecordBuffer;
friend class cReplayBuffer;
+ friend class cDVDplayBuffer;
friend class cTransferBuffer;
private:
int videoDev;
@@ -202,7 +207,7 @@ private:
private:
cRecordBuffer *recordBuffer;
- cReplayBuffer *replayBuffer;
+ cPlayBuffer *replayBuffer;
int ca;
int priority;
int Ca(void) { return ca; }
@@ -238,6 +243,8 @@ public:
// Starts replaying the given file.
// If there is already a replay session active, it will be stopped
// and the new file will be played back.
+ bool StartDVDplay(cDVD *dvd, int TitleID);//XXX dvd parameter necessary???
+ // Starts replaying the given TitleID on the DVD.
void StopReplay(void);
// Stops the current replay session (if any).
void Pause(void);