Index: compiled/InvalidFilter.cpp |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/compiled/InvalidFilter.cpp |
@@ -0,0 +1,15 @@ |
+#include <emscripten.h> |
+ |
+#include "InvalidFilter.h" |
+#include "tools.h" |
+ |
+InvalidFilter::InvalidFilter(const std::u16string& text, const std::u16string& reason) |
+ : Filter(text), reason(reason) |
+{ |
+} |
+ |
+// API |
+extern "C" |
+{ |
+ EXPOSE_READONLY_STRPROPERTY(InvalidFilter, reason) |
+} |