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