Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: compiled/bindings.cpp

Issue 29383816: Issue 4989 - [emscripten] Move filter class files into a separate directory (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created March 14, 2017, 3:34 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « compile ('k') | compiled/filter/ActiveFilter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #include "bindings.ipp" 1 #include "bindings.ipp"
2 #include "Filter.h" 2 #include "filter/Filter.h"
3 #include "InvalidFilter.h" 3 #include "filter/InvalidFilter.h"
4 #include "CommentFilter.h" 4 #include "filter/CommentFilter.h"
5 #include "ActiveFilter.h" 5 #include "filter/ActiveFilter.h"
6 #include "RegExpFilter.h" 6 #include "filter/RegExpFilter.h"
7 #include "BlockingFilter.h" 7 #include "filter/BlockingFilter.h"
8 #include "WhitelistFilter.h" 8 #include "filter/WhitelistFilter.h"
9 #include "ElemHideBase.h" 9 #include "filter/ElemHideBase.h"
10 #include "ElemHideFilter.h" 10 #include "filter/ElemHideFilter.h"
11 #include "ElemHideException.h" 11 #include "filter/ElemHideException.h"
12 #include "ElemHideEmulationFilter.h" 12 #include "filter/ElemHideEmulationFilter.h"
13 13
14 EMSCRIPTEN_BINDINGS 14 EMSCRIPTEN_BINDINGS
15 { 15 {
16 class_<Filter>("Filter") 16 class_<Filter>("Filter")
17 .property("text", &Filter::GetText) 17 .property("text", &Filter::GetText)
18 .function("serialize", &Filter::Serialize) 18 .function("serialize", &Filter::Serialize)
19 .class_function("fromText", &Filter::FromText) 19 .class_function("fromText", &Filter::FromText)
20 .subclass_differentiator(&Filter::mType, { 20 .subclass_differentiator(&Filter::mType, {
21 {Filter::Type::INVALID, "InvalidFilter"}, 21 {Filter::Type::INVALID, "InvalidFilter"},
22 {Filter::Type::COMMENT, "CommentFilter"}, 22 {Filter::Type::COMMENT, "CommentFilter"},
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 class_<ElemHideFilter,ElemHideBase>("ElemHideFilter") 60 class_<ElemHideFilter,ElemHideBase>("ElemHideFilter")
61 .class_property("type", "'elemhide'"); 61 .class_property("type", "'elemhide'");
62 62
63 class_<ElemHideException,ElemHideBase>("ElemHideException") 63 class_<ElemHideException,ElemHideBase>("ElemHideException")
64 .class_property("type", "'elemhideexception'"); 64 .class_property("type", "'elemhideexception'");
65 65
66 class_<ElemHideEmulationFilter,ElemHideBase>("ElemHideEmulationFilter") 66 class_<ElemHideEmulationFilter,ElemHideBase>("ElemHideEmulationFilter")
67 .class_property("type", "'elemhideemulation'"); 67 .class_property("type", "'elemhideemulation'");
68 } 68 }
OLDNEW
« no previous file with comments | « compile ('k') | compiled/filter/ActiveFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld