From b9afc6f201376d3bdd62b4276d843c62d1cc98b1 Mon Sep 17 00:00:00 2001 From: Relintai Date: Sat, 5 Feb 2022 15:10:56 +0100 Subject: [PATCH] Moved the Utils class under core/html. --- core/{ => html}/utils.cpp | 2 +- core/{ => html}/utils.h | 0 web_modules/list_page/list_page.cpp | 2 +- web_modules/paged_article/paged_article.cpp | 2 +- web_modules/paged_article/paged_articles.cpp | 2 +- web_modules/users/user.cpp | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) rename core/{ => html}/utils.cpp (99%) rename core/{ => html}/utils.h (100%) diff --git a/core/utils.cpp b/core/html/utils.cpp similarity index 99% rename from core/utils.cpp rename to core/html/utils.cpp index fa3689f..addb0fa 100644 --- a/core/utils.cpp +++ b/core/html/utils.cpp @@ -1,6 +1,6 @@ #include "utils.h" -#include "html/html_builder.h" +#include "html_builder.h" #include #include #include diff --git a/core/utils.h b/core/html/utils.h similarity index 100% rename from core/utils.h rename to core/html/utils.h diff --git a/web_modules/list_page/list_page.cpp b/web_modules/list_page/list_page.cpp index 63e543d..b0c643a 100644 --- a/web_modules/list_page/list_page.cpp +++ b/web_modules/list_page/list_page.cpp @@ -1,7 +1,7 @@ #include "list_page.h" #include "core/html/html_builder.h" -#include "core/utils.h" +#include "core/html/utils.h" #include "core/math/math.h" #include diff --git a/web_modules/paged_article/paged_article.cpp b/web_modules/paged_article/paged_article.cpp index 5b202d3..fa3ffe6 100644 --- a/web_modules/paged_article/paged_article.cpp +++ b/web_modules/paged_article/paged_article.cpp @@ -1,7 +1,7 @@ #include "paged_article.h" #include "core/os/directory.h" -#include "core/utils.h" +#include "core/html/utils.h" #include diff --git a/web_modules/paged_article/paged_articles.cpp b/web_modules/paged_article/paged_articles.cpp index 1fb4ff7..bf824b7 100644 --- a/web_modules/paged_article/paged_articles.cpp +++ b/web_modules/paged_article/paged_articles.cpp @@ -3,7 +3,7 @@ #include "core/html/html_builder.h" #include "core/os/directory.h" -#include "core/utils.h" +#include "core/html/utils.h" #include "paged_article.h" #include diff --git a/web_modules/users/user.cpp b/web_modules/users/user.cpp index b62b518..d716d04 100644 --- a/web_modules/users/user.cpp +++ b/web_modules/users/user.cpp @@ -19,7 +19,7 @@ #include "core/http/http_session.h" #include "core/http/request.h" #include "core/http/session_manager.h" -#include "core/utils.h" +#include "core/html/utils.h" String User::to_json(rapidjson::Document *into) { rapidjson::Document *document;