Index: compiled/WhiteListFilter.cpp |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/compiled/WhiteListFilter.cpp |
@@ -0,0 +1,19 @@ |
+#include <emscripten/bind.h> |
+ |
+#include "WhiteListFilter.h" |
+ |
+WhiteListFilter::WhiteListFilter(const std::wstring& text) |
+ : RegExpFilter(text) |
+{ |
+} |
+ |
+Filter::Type WhiteListFilter::GetType() const |
+{ |
+ return Type::WHITELIST; |
+} |
+ |
+EMSCRIPTEN_BINDINGS(whitelistfilter) |
+{ |
+ using namespace emscripten; |
+ class_<WhiteListFilter,base<RegExpFilter>>("WhiteListFilter"); |
+} |