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

Side by Side Diff: compiled/ActiveFilter.cpp

Issue 29333474: Issue 4125 - [emscripten] Convert filter classes to C++ (Closed)
Patch Set: Fixed some bugs and exposed/tested more properties Created Jan. 15, 2016, 3:40 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
OLDNEW
(Empty)
1 #include "ActiveFilter.h"
2
3 ActiveFilter::ActiveFilter(const std::u16string& text)
4 : Filter(text), disabled(false), hitCount(0), lastHit(0)
5 {
6 }
7
8 // API
9 extern "C"
Felix Dahlke 2016/01/15 17:00:35 I'm not really a fan of this approach. Have you tr
10 {
11 EXPOSE_PROPERTY(ActiveFilter, bool, disabled);
12 EXPOSE_PROPERTY(ActiveFilter, unsigned int, hitCount);
13 EXPOSE_PROPERTY(ActiveFilter, unsigned int, lastHit);
14 }
OLDNEW

Powered by Google App Engine
This is Rietveld