tagparser/ogg/oggstream.h

38 lines
631 B
C
Raw Normal View History

2015-04-22 19:22:01 +02:00
#ifndef MEDIA_OGGSTREAM_H
#define MEDIA_OGGSTREAM_H
#include "oggpage.h"
2015-09-06 15:42:18 +02:00
#include "abstracttrack.h"
2015-04-22 19:22:01 +02:00
namespace Media {
class OggContainer;
class OggIterator;
class LIB_EXPORT OggStream : public AbstractTrack
{
friend class OggContainer;
public:
OggStream(OggContainer &container, std::vector<OggPage>::size_type startPage);
~OggStream();
TrackType type() const;
protected:
void internalParseHeader();
private:
std::vector<OggPage>::size_type m_startPage;
OggContainer &m_container;
};
inline TrackType OggStream::type() const
{
return TrackType::OggStream;
}
}
#endif // MEDIA_OGGSTREAM_H