Index: compiled/bindings.cpp |
=================================================================== |
--- a/compiled/bindings.cpp |
+++ b/compiled/bindings.cpp |
@@ -25,16 +25,17 @@ |
#include "filter/WhitelistFilter.h" |
#include "filter/ElemHideBase.h" |
#include "filter/ElemHideFilter.h" |
#include "filter/ElemHideException.h" |
#include "filter/ElemHideEmulationFilter.h" |
#include "subscription/Subscription.h" |
#include "subscription/DownloadableSubscription.h" |
#include "subscription/UserDefinedSubscription.h" |
+#include "FilterNotifier.h" |
EMSCRIPTEN_BINDINGS |
{ |
class_<Filter>("Filter") |
.property("text", &Filter::GetText) |
.function("serialize", &Filter::Serialize) |
.class_function("fromText", &Filter::FromText) |
.subclass_differentiator(&Filter::mType, { |
@@ -118,9 +119,11 @@ EMSCRIPTEN_BINDINGS |
.property("lastDownload", &DownloadableSubscription::GetLastDownload, &DownloadableSubscription::SetLastDownload) |
.property("downloadStatus", &DownloadableSubscription::GetDownloadStatus, &DownloadableSubscription::SetDownloadStatus) |
.property("lastSuccess", &DownloadableSubscription::GetLastSuccess, &DownloadableSubscription::SetLastSuccess) |
.property("errors", &DownloadableSubscription::GetErrorCount, &DownloadableSubscription::SetErrorCount) |
.property("version", &DownloadableSubscription::GetDataRevision, &DownloadableSubscription::SetDataRevision) |
.property("requiredVersion", &DownloadableSubscription::GetRequiredVersion, &DownloadableSubscription::SetRequiredVersion) |
.property("downloadCount", &DownloadableSubscription::GetDownloadCount, &DownloadableSubscription::SetDownloadCount) |
.function("serialize", &DownloadableSubscription::Serialize); |
+ |
+ custom_generator(&FilterNotifier::GenerateCustomBindings); |
} |