xref: /haiku/src/add-ons/media/plugins/http_streamer/HTTPStreamerPlugin.h (revision 4bd0c1066b227cec4b79883bdef697c7a27f2e90)
1 /*
2  * Copyright 2016, Dario Casalinuovo
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _HTTP_STREAMER_PLUGIN_H
6 #define _HTTP_STREAMER_PLUGIN_H
7 
8 
9 #include "StreamerPlugin.h"
10 
11 class HTTPStreamer : public Streamer
12 {
13 public:
14 								HTTPStreamer();
15 	virtual						~HTTPStreamer();
16 
17 	virtual status_t			Sniff(const BUrl& url, BDataIO** source);
18 };
19 
20 
21 class HTTPStreamerPlugin : public StreamerPlugin
22 {
23 public:
24 	virtual	Streamer*			NewStreamer();
25 };
26 
27 #endif // _HTTP_STREAMER_PLUGIN_H
28