| Index: src/shared/ContentType.h |
| diff --git a/src/shared/ContentType.h b/src/shared/ContentType.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f49c3180d851b5fbdfc3da274a36b0baaf241c49 |
| --- /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); |