xref: /haiku/headers/private/media/MediaStreamer.h (revision 218a8c03cbadd95d8888b218930f514fa0b4fac4)
1 /*
2  * Copyright 2017, Dario Casalinuovo. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _MEDIA_STREAMER_H
6 #define _MEDIA_STREAMER_H
7 
8 
9 #include <Url.h>
10 
11 #include "StreamerPlugin.h"
12 
13 
14 namespace BPrivate {
15 namespace media {
16 
17 
18 class MediaStreamer {
19 public:
20 								MediaStreamer(BUrl url);
21 								~MediaStreamer();
22 
23 			status_t			CreateAdapter(BDataIO** adapter);
24 
25 private:
26 			BUrl				fUrl;
27 			Streamer*			fStreamer;
28 };
29 
30 
31 }; // namespace media
32 }; // namespace BPrivate
33 
34 using namespace BPrivate::media;
35 
36 #endif
37