From 066129b2baf3eee914115995f94db0d76239435f Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 2 Jul 2022 22:18:14 +0200 Subject: [PATCH] Added HTMLPaginator to the build. --- modules/web/SCsub | 1 + modules/web/config.py | 1 + modules/web/register_types.cpp | 3 +++ 3 files changed, 5 insertions(+) diff --git a/modules/web/SCsub b/modules/web/SCsub index fef373875..61d7f8731 100644 --- a/modules/web/SCsub +++ b/modules/web/SCsub @@ -24,6 +24,7 @@ sources = [ "html/html_builder_bind.cpp", "html/html_builder.cpp", + "html/paginator.cpp", "http_server_simple/http_server_simple.cpp", "http_server_simple/web_server_simple.cpp", diff --git a/modules/web/config.py b/modules/web/config.py index bcc16f628..0d696c667 100644 --- a/modules/web/config.py +++ b/modules/web/config.py @@ -32,6 +32,7 @@ def get_doc_classes(): "HTMLBuilder", "HTMLTag", + "HTMLPaginator", "WebServerSimple", diff --git a/modules/web/register_types.cpp b/modules/web/register_types.cpp index 6ba475563..aa684402e 100644 --- a/modules/web/register_types.cpp +++ b/modules/web/register_types.cpp @@ -27,6 +27,7 @@ SOFTWARE. #include "file_cache.h" #include "html/html_builder_bind.h" +#include "html/paginator.h" #include "http/csrf_token.h" #include "http/http_server_enums.h" @@ -53,6 +54,8 @@ void register_web_types() { ClassDB::register_class<_HTMLBuilder>(); ClassDB::register_class<_HTMLTag>(); + ClassDB::register_class(); + ClassDB::register_class(); ClassDB::register_class();