Index: compiled/ActiveFilter.h |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/compiled/ActiveFilter.h |
@@ -0,0 +1,18 @@ |
+#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.
|
+#define ADBLOCKPLUS_ACTIVEFILTER_H |
+ |
+#include <string> |
+ |
+#include "tools.h" |
+#include "Filter.h" |
+ |
+class ActiveFilter : public Filter |
+{ |
+public: |
+ 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
|
+ FILTER_PROPERTY(bool, disabled); |
+ FILTER_PROPERTY(unsigned int, hitCount); |
+ FILTER_PROPERTY(unsigned int, lastHit); |
+}; |
+ |
+#endif |