haiku/headers/os/codec/StreamerPlugin.h
Barrett17 4269364345 codec_kit: Cosmetic changes
* Move padding at the bottom.
* Add some missing newline.
* Remove superfluous private statements.
2018-10-28 15:48:48 +01:00

50 lines
850 B
C++

#ifndef _STREAMER_PLUGIN_H
#define _STREAMER_PLUGIN_H
#include <MediaIO.h>
#include <MediaTrack.h>
#include <Url.h>
#include "MediaPlugin.h"
namespace BPrivate { namespace media {
class PluginManager;
class Streamer {
public:
Streamer();
virtual ~Streamer();
virtual status_t Sniff(const BUrl& url, BDataIO** source) = 0;
private:
friend class PluginManager;
MediaPlugin* fMediaPlugin;
virtual void _ReservedStreamer1();
virtual void _ReservedStreamer2();
virtual void _ReservedStreamer3();
virtual void _ReservedStreamer4();
virtual void _ReservedStreamer5();
uint32 fReserved[5];
};
class StreamerPlugin : public virtual MediaPlugin {
public:
virtual Streamer* NewStreamer() = 0;
};
} } // namespace BPrivate::media
using namespace BPrivate::media;
#endif // _STREAMER_PLUGIN_H