diff options
Diffstat (limited to 'dvbapi.h')
-rw-r--r-- | dvbapi.h | 10 |
1 files changed, 9 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.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); |