diff --git a/modules/web/SCsub b/modules/web/SCsub index b7bf516d3..78a649ff1 100644 --- a/modules/web/SCsub +++ b/modules/web/SCsub @@ -58,10 +58,10 @@ sources = [ ] if env["tools"]: - sources.append("editor/web_editor.cpp") - sources.append("editor/web_editor_plugin.cpp") - sources.append("editor/web_editor_web_server.cpp") - sources.append("editor/web_editor_web_server_request.cpp") + sources.append("editor/web_node_editor.cpp") + sources.append("editor/web_node_editor_plugin.cpp") + sources.append("editor/web_node_editor_web_server.cpp") + sources.append("editor/web_node_editor_web_server_request.cpp") if ARGUMENTS.get('custom_modules_shared', 'no') == 'yes': # Shared lib compilation diff --git a/modules/web/editor/web_editor.cpp b/modules/web/editor/web_node_editor.cpp similarity index 98% rename from modules/web/editor/web_editor.cpp rename to modules/web/editor/web_node_editor.cpp index 22cfc0e4e..935707dea 100644 --- a/modules/web/editor/web_editor.cpp +++ b/modules/web/editor/web_node_editor.cpp @@ -20,7 +20,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "web_editor.h" +#include "web_node_editor.h" #include "../http/web_node.h" #include "../http/web_server_cookie.h" @@ -28,8 +28,8 @@ SOFTWARE. #include "scene/gui/text_edit.h" #include "../html/html_parser.h" -#include "web_editor_web_server.h" -#include "web_editor_web_server_request.h" +#include "web_node_editor_web_server.h" +#include "web_node_editor_web_server_request.h" void WebEditor::edit(WebNode *web_node) { _edited_node = web_node; diff --git a/modules/web/editor/web_editor.h b/modules/web/editor/web_node_editor.h similarity index 96% rename from modules/web/editor/web_editor.h rename to modules/web/editor/web_node_editor.h index b08353697..d8d5bb604 100644 --- a/modules/web/editor/web_editor.h +++ b/modules/web/editor/web_node_editor.h @@ -1,5 +1,5 @@ -#ifndef WEB_EDITOR_H -#define WEB_EDITOR_H +#ifndef WEB_NODE_EDITOR_H +#define WEB_NODE_EDITOR_H /* Copyright (c) 2022 Péter Magyar diff --git a/modules/web/editor/web_editor_plugin.cpp b/modules/web/editor/web_node_editor_plugin.cpp similarity index 98% rename from modules/web/editor/web_editor_plugin.cpp rename to modules/web/editor/web_node_editor_plugin.cpp index 14dcef43c..12135528d 100644 --- a/modules/web/editor/web_editor_plugin.cpp +++ b/modules/web/editor/web_node_editor_plugin.cpp @@ -20,11 +20,11 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "web_editor_plugin.h" +#include "web_node_editor_plugin.h" #include "core/config/engine.h" #include "../http/web_node.h" -#include "web_editor.h" +#include "web_node_editor.h" #include "editor/editor_node.h" diff --git a/modules/web/editor/web_editor_plugin.h b/modules/web/editor/web_node_editor_plugin.h similarity index 96% rename from modules/web/editor/web_editor_plugin.h rename to modules/web/editor/web_node_editor_plugin.h index 5ef724172..1cc6c3394 100644 --- a/modules/web/editor/web_editor_plugin.h +++ b/modules/web/editor/web_node_editor_plugin.h @@ -1,5 +1,5 @@ -#ifndef WEB_EDITOR_PLUGIN_H -#define WEB_EDITOR_PLUGIN_H +#ifndef WEB_NODE_EDITOR_PLUGIN_H +#define WEB_NODE_EDITOR_PLUGIN_H /* Copyright (c) 2019-2022 Péter Magyar diff --git a/modules/web/editor/web_editor_web_server.cpp b/modules/web/editor/web_node_editor_web_server.cpp similarity index 84% rename from modules/web/editor/web_editor_web_server.cpp rename to modules/web/editor/web_node_editor_web_server.cpp index 344526384..46beeab25 100644 --- a/modules/web/editor/web_editor_web_server.cpp +++ b/modules/web/editor/web_node_editor_web_server.cpp @@ -1,7 +1,7 @@ -#include "web_editor_web_server.h" +#include "web_node_editor_web_server.h" #include "../http/web_node.h" -#include "web_editor_web_server_request.h" +#include "web_node_editor_web_server_request.h" void WebEditorWebServer::web_editor_request(WebNode *node, Ref request) { diff --git a/modules/web/editor/web_editor_web_server.h b/modules/web/editor/web_node_editor_web_server.h similarity index 85% rename from modules/web/editor/web_editor_web_server.h rename to modules/web/editor/web_node_editor_web_server.h index 7c9e395f0..12888df38 100644 --- a/modules/web/editor/web_editor_web_server.h +++ b/modules/web/editor/web_node_editor_web_server.h @@ -1,5 +1,5 @@ -#ifndef WEB_EDITOR_WEB_SERVER_H -#define WEB_EDITOR_WEB_SERVER_H +#ifndef WEB_NODE_EDITOR_WEB_SERVER_H +#define WEB_NODE_EDITOR_WEB_SERVER_H #include "core/object/reference.h" diff --git a/modules/web/editor/web_editor_web_server_request.cpp b/modules/web/editor/web_node_editor_web_server_request.cpp similarity index 97% rename from modules/web/editor/web_editor_web_server_request.cpp rename to modules/web/editor/web_node_editor_web_server_request.cpp index 6d57b0efe..9d24f69a7 100644 --- a/modules/web/editor/web_editor_web_server_request.cpp +++ b/modules/web/editor/web_node_editor_web_server_request.cpp @@ -1,4 +1,4 @@ -#include "web_editor_web_server_request.h" +#include "web_node_editor_web_server_request.h" #include "core/object/object.h" #include "core/variant/variant.h" diff --git a/modules/web/editor/web_editor_web_server_request.h b/modules/web/editor/web_node_editor_web_server_request.h similarity index 94% rename from modules/web/editor/web_editor_web_server_request.h rename to modules/web/editor/web_node_editor_web_server_request.h index e385372a3..b6eba459c 100644 --- a/modules/web/editor/web_editor_web_server_request.h +++ b/modules/web/editor/web_node_editor_web_server_request.h @@ -1,5 +1,5 @@ -#ifndef WEB_EDITOR_WEB_SERVER_REQUEST_H -#define WEB_EDITOR_WEB_SERVER_REQUEST_H +#ifndef WEB_NODE_EDITOR_WEB_SERVER_REQUEST_H +#define WEB_NODE_EDITOR_WEB_SERVER_REQUEST_H #include "core/containers/vector.h" #include "core/string/ustring.h" diff --git a/modules/web/register_types.cpp b/modules/web/register_types.cpp index e53df124b..42d9100ce 100644 --- a/modules/web/register_types.cpp +++ b/modules/web/register_types.cpp @@ -62,7 +62,7 @@ SOFTWARE. #include "nodes/redirect/redirect_web_page.h" #if TOOLS_ENABLED -#include "editor/web_editor_plugin.h" +#include "editor/web_node_editor_plugin.h" #endif void register_web_types() {