Index: src/shared/ContentType.h |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/src/shared/ContentType.h |
@@ -0,0 +1,14 @@ |
+#pragma once |
+#include <AdblockPlus/FilterEngine.h> |
+ |
+ |
+std::string ContentTypeToString(AdblockPlus::FilterEngine::ContentType contentType); |
+ |
+namespace Communication |
+{ |
+ class InputBuffer; |
+ class OutputBuffer; |
+} |
+ |
+Communication::InputBuffer& operator>>(Communication::InputBuffer& in, AdblockPlus::FilterEngine::ContentType& contentType); |
+Communication::OutputBuffer& operator<<(Communication::OutputBuffer& out, AdblockPlus::FilterEngine::ContentType contentType); |