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