#ifndef MEDIA_BASE_FILTER_COLLECTION_H_
#define MEDIA_BASE_FILTER_COLLECTION_H_
#include "base/memory/scoped_ptr.h"
#include "media/base/media_export.h"
namespace media {
class AudioRenderer;
class Demuxer;
class TextRenderer;
class VideoRenderer;
class MEDIA_EXPORT FilterCollection {
public:
FilterCollection();
~FilterCollection();
void SetDemuxer(Demuxer* demuxer);
Demuxer* GetDemuxer();
void SetAudioRenderer(scoped_ptr<AudioRenderer> audio_renderer);
scoped_ptr<AudioRenderer> GetAudioRenderer();
void SetVideoRenderer(scoped_ptr<VideoRenderer> video_renderer);
scoped_ptr<VideoRenderer> GetVideoRenderer();
void SetTextRenderer(scoped_ptr<TextRenderer> text_renderer);
scoped_ptr<TextRenderer> GetTextRenderer();
private:
Demuxer* demuxer_;
scoped_ptr<AudioRenderer> audio_renderer_;
scoped_ptr<VideoRenderer> video_renderer_;
scoped_ptr<TextRenderer> text_renderer_;
DISALLOW_COPY_AND_ASSIGN(FilterCollection);
};
}
#endif