From c19ad04a214169430f2db45f631c3d49dbcb6af9 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Mon, 6 Aug 2001 16:19:20 +0200 Subject: DVD support is now optional --- dvbapi.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'dvbapi.h') 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 #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); -- cgit v1.2.3