Renamed the web editor's files.

This commit is contained in:
Relintai 2022-08-23 13:24:31 +02:00
parent bfc1679f14
commit 5e64462049
10 changed files with 21 additions and 21 deletions

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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<WebEditorWebServerRequest> request) {

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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() {