218a8c03cb
All of Barrett's individual reverts have been squashed into this one commit, save a few actual bugfixes. Change-Id: Ib0a7d0a841d3ac40b1fca7372c58b7f9229bd1f0
37 lines
545 B
C++
37 lines
545 B
C++
/*
|
|
* Copyright 2017, Dario Casalinuovo. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _MEDIA_STREAMER_H
|
|
#define _MEDIA_STREAMER_H
|
|
|
|
|
|
#include <Url.h>
|
|
|
|
#include "StreamerPlugin.h"
|
|
|
|
|
|
namespace BPrivate {
|
|
namespace media {
|
|
|
|
|
|
class MediaStreamer {
|
|
public:
|
|
MediaStreamer(BUrl url);
|
|
~MediaStreamer();
|
|
|
|
status_t CreateAdapter(BDataIO** adapter);
|
|
|
|
private:
|
|
BUrl fUrl;
|
|
Streamer* fStreamer;
|
|
};
|
|
|
|
|
|
}; // namespace media
|
|
}; // namespace BPrivate
|
|
|
|
using namespace BPrivate::media;
|
|
|
|
#endif
|