summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'dvbapi.h')
-rw-r--r--dvbapi.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/dvbapi.h b/dvbapi.h
index 2203d79..41193ae 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.44 2001/08/05 15:57:45 kls Exp $
*/
#ifndef __DVBAPI_H
@@ -26,7 +26,11 @@
#include <ost/audio.h>
#include <ost/osd.h>
#include <stdio.h>
+
#include "dvbosd.h"
+#ifdef DVDSUPPORT
+#include "dvd.h"
+#endif //DVDSUPPORT
#include "eit.h"
#include "thread.h"
@@ -44,7 +48,11 @@ int HMSFToIndex(const char *HMSF);
class cChannel;
class cRecordBuffer;
+class cPlayBuffer;
class cReplayBuffer;
+#ifdef DVDSUPPORT
+class cDVDplayBuffer;
+#endif //DVDSUPPORT
class cTransferBuffer;
class cCuttingBuffer;
@@ -60,6 +68,9 @@ public:
class cDvbApi {
friend class cRecordBuffer;
friend class cReplayBuffer;
+#ifdef DVDSUPPORT
+ friend class cDVDplayBuffer;
+#endif //DVDSUPPORT
friend class cTransferBuffer;
private:
int videoDev;
@@ -202,7 +213,7 @@ private:
private:
cRecordBuffer *recordBuffer;
- cReplayBuffer *replayBuffer;
+ cPlayBuffer *replayBuffer;
int ca;
int priority;
int Ca(void) { return ca; }
@@ -238,6 +249,10 @@ 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.
+#ifdef DVDSUPPORT
+ bool StartDVDplay(cDVD *dvd, int TitleID);//XXX dvd parameter necessary???
+ // Starts replaying the given TitleID on the DVD.
+#endif //DVDSUPPORT
void StopReplay(void);
// Stops the current replay session (if any).
void Pause(void);