summaryrefslogtreecommitdiff
path: root/include/crawler/Fetcher.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/crawler/Fetcher.hpp')
-rwxr-xr-xinclude/crawler/Fetcher.hpp15
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