23 #ifndef PHONON_STREAMINTERFACE_H
24 #define PHONON_STREAMINTERFACE_H
26 #include "phonon_export.h"
27 #include <QtCore/QObject>
30 #ifndef QT_NO_PHONON_ABSTRACTMEDIASTREAM
34 class StreamInterfacePrivate;
57 friend class StreamInterfacePrivate;
58 friend class AbstractMediaStreamPrivate;
68 virtual void writeData(
const QByteArray &data) = 0;
73 virtual void endOfData() = 0;
80 virtual void setStreamSize(qint64 newSize) = 0;
85 virtual void setStreamSeekable(
bool s) = 0;
93 void connectToSource(
const MediaSource &mediaSource);
117 void seekStream(qint64 seekTo);
128 StreamInterfacePrivate *
const d;
134 #endif //QT_NO_PHONON_ABSTRACTMEDIASTREAM
137 #endif // PHONON_STREAMINTERFACE_H