blob: 4ace0620326b7705af0604347d7856990d22bef4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include "LibCurlFetcher.hpp"
#include "LibCurlRewindInputStream.hpp"
LibCurlFetcher::LibCurlFetcher( )
{
}
LibCurlFetcher::~LibCurlFetcher( )
{
}
RewindInputStream *LibCurlFetcher::fetch( const URL url )
{
LibCurlRewindInputStream *s = new LibCurlRewindInputStream( url );
return s;
}
REGISTER_MODULE( "libcurl_fetcher", Fetcher, LibCurlFetcher )
|