summaryrefslogtreecommitdiff
path: root/dvbapi.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2001-08-06 16:19:20 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2001-08-06 16:19:20 +0200
commitc19ad04a214169430f2db45f631c3d49dbcb6af9 (patch)
tree9e3d04c86a5865e2c47d2af4a5ef1f948fd7be34 /dvbapi.h
parent81cf0719fe0375407b304d17b2d6760940e06cfa (diff)
downloadvdr-c19ad04a214169430f2db45f631c3d49dbcb6af9.tar.gz
vdr-c19ad04a214169430f2db45f631c3d49dbcb6af9.tar.bz2
DVD support is now optional
Diffstat (limited to 'dvbapi.h')
-rw-r--r--dvbapi.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/dvbapi.h b/dvbapi.h
index 6e118e76..41193ae7 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.43 2001/08/02 14:50:48 kls Exp $
+ * $Id: dvbapi.h 1.44 2001/08/05 15:57:45 kls Exp $
*/
#ifndef __DVBAPI_H
@@ -28,7 +28,9 @@
#include <stdio.h>
#include "dvbosd.h"
+#ifdef DVDSUPPORT
#include "dvd.h"
+#endif //DVDSUPPORT
#include "eit.h"
#include "thread.h"
@@ -48,7 +50,9 @@ class cChannel;
class cRecordBuffer;
class cPlayBuffer;
class cReplayBuffer;
+#ifdef DVDSUPPORT
class cDVDplayBuffer;
+#endif //DVDSUPPORT
class cTransferBuffer;
class cCuttingBuffer;
@@ -64,7 +68,9 @@ public:
class cDvbApi {
friend class cRecordBuffer;
friend class cReplayBuffer;
+#ifdef DVDSUPPORT
friend class cDVDplayBuffer;
+#endif //DVDSUPPORT
friend class cTransferBuffer;
private:
int videoDev;
@@ -243,8 +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);