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

Side by Side Diff: compiled/WhiteListFilter.cpp

Issue 29333474: Issue 4125 - [emscripten] Convert filter classes to C++ (Closed)
Patch Set: Using embind Created Jan. 15, 2016, 8:44 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 | « compiled/WhiteListFilter.h ('k') | compiled/post.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #include <emscripten/bind.h>
2
3 #include "WhiteListFilter.h"
4
5 WhiteListFilter::WhiteListFilter(const std::wstring& text)
6 : RegExpFilter(text)
7 {
8 }
9
10 Filter::Type WhiteListFilter::GetType() const
11 {
12 return Type::WHITELIST;
13 }
14
15 EMSCRIPTEN_BINDINGS(whitelistfilter)
16 {
17 using namespace emscripten;
18 class_<WhiteListFilter,base<RegExpFilter>>("WhiteListFilter");
19 }
OLDNEW
« no previous file with comments | « compiled/WhiteListFilter.h ('k') | compiled/post.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld