LEFT | RIGHT |
1 #include <emscripten/bind.h> | |
2 | |
3 #include "ElemHideFilter.h" | 1 #include "ElemHideFilter.h" |
4 | 2 |
5 ElemHideFilter::ElemHideFilter(const std::wstring& text, size_t domainsEnd, | 3 ElemHideFilter::ElemHideFilter(const String& text, const ElemHideBaseData& data) |
6 size_t selectorStart) | 4 : ElemHideBase(Type::ELEMHIDE, text, data) |
7 : ElemHideBase(text, domainsEnd, selectorStart) | |
8 { | 5 { |
9 } | 6 } |
10 | |
11 Filter::Type ElemHideFilter::GetType() const | |
12 { | |
13 return Type::ELEMHIDE; | |
14 } | |
15 | |
16 EMSCRIPTEN_BINDINGS(elemhidefilter) | |
17 { | |
18 using namespace emscripten; | |
19 class_<ElemHideFilter,base<ActiveFilter>>("ElemHideFilter"); | |
20 } | |
LEFT | RIGHT |