- add prelim. pvr playback.
[enigma2.git] / lib / dvb / idvb.h
index 882e9b15912a94add6e88d7c55cb302cfb8b3431..d338f298533ae4ffaf2ddd84caf58baab0322708 100644 (file)
@@ -435,6 +435,19 @@ public:
        virtual void ReleaseUse() = 0;
 };
 
+class iDVBPVRChannel: public iDVBChannel
+{
+public:
+       enum
+       {
+               state_eof = state_release + 1  /* end-of-file reached. */
+       };
+       
+               /* FIXME: there are some very ugly buffer-end and ... related problems */
+               /* so this is VERY UGLY. */
+       virtual RESULT playFile(const char *file) = 0;
+};
+
 class iDVBSectionReader;
 class iDVBTSRecorder;
 class iTSMPEGDecoder;