mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
[Web] Implement dummy NetSocketWeb
This makes the class available to avoid spam from classes using it, even if without any actual implementation (since raw sockets are not available on the web).
This commit is contained in:
parent
c831f635fe
commit
14e4e3424f
4 changed files with 114 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
|||
#include "display_server_web.h"
|
||||
#include "godot_js.h"
|
||||
#include "ip_web.h"
|
||||
#include "net_socket_web.h"
|
||||
|
||||
#include "core/config/project_settings.h"
|
||||
#include "core/debugger/engine_debugger.h"
|
||||
|
@ -55,6 +56,7 @@ void OS_Web::alert(const String &p_alert, const String &p_title) {
|
|||
void OS_Web::initialize() {
|
||||
OS_Unix::initialize_core();
|
||||
IPWeb::make_default();
|
||||
NetSocketWeb::make_default();
|
||||
DisplayServerWeb::register_web_driver();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue