Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 #include <emscripten/bind.h> | |
2 | |
3 #include "ElemHideFilter.h" | |
4 | |
5 ElemHideFilter::ElemHideFilter(const std::wstring& text, size_t domainsEnd, | |
6 size_t selectorStart) | |
7 : ElemHideBase(text, domainsEnd, selectorStart) | |
8 { | |
9 } | |
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 } | |
OLD | NEW |