summaryrefslogtreecommitdiff
path: root/include/crawler
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-09-07 17:14:55 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-09-07 17:14:55 +0200
commitdcc75cfbc4e5069038f0ec9929d1000f1630e382 (patch)
treefb9af6dbdc55f64726913a9634493bc12dd67219 /include/crawler
parente09d2127fc35d88bc94174514a2c79ad4400b9a7 (diff)
downloadcrawler-dcc75cfbc4e5069038f0ec9929d1000f1630e382.tar.gz
crawler-dcc75cfbc4e5069038f0ec9929d1000f1630e382.tar.bz2
moved TypeDetect.hpp to crawler include files
Diffstat (limited to 'include/crawler')
-rw-r--r--include/crawler/TypeDetect.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/crawler/TypeDetect.hpp b/include/crawler/TypeDetect.hpp
new file mode 100644
index 0000000..7db714b
--- /dev/null
+++ b/include/crawler/TypeDetect.hpp
@@ -0,0 +1,15 @@
+#ifndef __TYPE_DETECTION_H
+#define __TYPE_DETECTION_H
+
+#include "RewindInputStream.hpp"
+#include "MIMEType.hpp"
+
+class TypeDetect
+{
+ public:
+ virtual ~TypeDetect( ) { };
+
+ virtual MIMEType detect( RewindInputStream *s ) = 0;
+};
+
+#endif