Index: compiled/ElemHideFilter.cpp |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/compiled/ElemHideFilter.cpp |
@@ -0,0 +1,20 @@ |
+#include <emscripten/bind.h> |
+ |
+#include "ElemHideFilter.h" |
+ |
+ElemHideFilter::ElemHideFilter(const std::wstring& text, size_t domainsEnd, |
+ size_t selectorStart) |
+ : ElemHideBase(text, domainsEnd, selectorStart) |
+{ |
+} |
+ |
+Filter::Type ElemHideFilter::GetType() const |
+{ |
+ return Type::ELEMHIDE; |
+} |
+ |
+EMSCRIPTEN_BINDINGS(elemhidefilter) |
+{ |
+ using namespace emscripten; |
+ class_<ElemHideFilter,base<ActiveFilter>>("ElemHideFilter"); |
+} |