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

Side by Side Diff: compiled/ActiveFilter.h

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 #ifndef ADBLOCKPLUS_ACTIVEFILTER_H
Felix Dahlke 2016/01/15 17:00:35 Nit: Words in camel cased names should be separate
Wladimir Palant 2016/01/15 20:36:15 Done.
2 #define ADBLOCKPLUS_ACTIVEFILTER_H
3
4 #include <string>
5
6 #include "tools.h"
7 #include "Filter.h"
8
9 class ActiveFilter : public Filter
10 {
11 public:
12 ActiveFilter(const std::u16string& text);
Felix Dahlke 2016/01/15 17:00:35 Please use the explicit keyword for single paramet
Felix Dahlke 2016/01/15 17:00:35 I'd prefer to go for std::wstring, we also use it
Wladimir Palant 2016/01/15 20:36:15 Done.
Wladimir Palant 2016/01/15 20:36:15 Done though merely as a side-effect of using embin
13 FILTER_PROPERTY(bool, disabled);
14 FILTER_PROPERTY(unsigned int, hitCount);
15 FILTER_PROPERTY(unsigned int, lastHit);
16 };
17
18 #endif
OLDNEW
« no previous file with comments | « compile ('k') | compiled/ActiveFilter.cpp » ('j') | compiled/ActiveFilter.cpp » ('J')

Powered by Google App Engine
This is Rietveld