diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-09-06 22:18:23 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-09-06 22:18:23 +0200 |
commit | 13fc9a7da5111f4ddba942d3c6b6b8654ce395d6 (patch) | |
tree | e86210e3d939911e35f930a6dc73c3ebb591243b /include/crawler/Fetcher.hpp | |
parent | f5c586f7231f7e033c5528bcefea357e4e64441c (diff) | |
download | crawler-13fc9a7da5111f4ddba942d3c6b6b8654ce395d6.tar.gz crawler-13fc9a7da5111f4ddba942d3c6b6b8654ce395d6.tar.bz2 |
more splitting into libcrawl, crawl binary
moved more public header to 'include'
changed approach for dynamic linking on Windows
Diffstat (limited to 'include/crawler/Fetcher.hpp')
-rwxr-xr-x | include/crawler/Fetcher.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/crawler/Fetcher.hpp b/include/crawler/Fetcher.hpp new file mode 100755 index 0000000..40f1c7a --- /dev/null +++ b/include/crawler/Fetcher.hpp @@ -0,0 +1,15 @@ +#ifndef __FETCHER_H +#define __FETCHER_H + +#include "URL.hpp" +#include "RewindInputStream.hpp" + +class Fetcher +{ + public: + virtual ~Fetcher( ) { }; + + virtual RewindInputStream *fetch( const URL url ) = 0; +}; + +#endif |