summaryrefslogtreecommitdiffstats
path: root/platform/web/export/export_plugin.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-06-26 15:19:25 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-06-26 15:19:25 +0200
commitdf78d0dd418464c8ea11932607716e97d6d169fe (patch)
tree1015653eb2fdc36fc52d2fcd8f34b9baa9a5a131 /platform/web/export/export_plugin.h
parentba3bb441942ad6c8828ab2309ef51e661146985e (diff)
parent1e8e9f4b096e9a41998be9c6b89dd304286826e4 (diff)
downloadredot-engine-df78d0dd418464c8ea11932607716e97d6d169fe.tar.gz
Merge pull request #92163 from adamscott/fix-new-web-export-bug
Fix web export state for Remote Debug
Diffstat (limited to 'platform/web/export/export_plugin.h')
-rw-r--r--platform/web/export/export_plugin.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/web/export/export_plugin.h b/platform/web/export/export_plugin.h
index d3d2083a23..2f67d8107f 100644
--- a/platform/web/export/export_plugin.h
+++ b/platform/web/export/export_plugin.h
@@ -46,19 +46,19 @@
class EditorExportPlatformWeb : public EditorExportPlatform {
GDCLASS(EditorExportPlatformWeb, EditorExportPlatform);
- enum HTTPServerState {
- HTTP_SERVER_STATE_OFF,
- HTTP_SERVER_STATE_ON,
+ enum RemoteDebugState {
+ REMOTE_DEBUG_STATE_UNAVAILABLE,
+ REMOTE_DEBUG_STATE_AVAILABLE,
+ REMOTE_DEBUG_STATE_SERVING,
};
Ref<ImageTexture> logo;
Ref<ImageTexture> run_icon;
Ref<ImageTexture> stop_icon;
Ref<ImageTexture> restart_icon;
- HTTPServerState server_state = HTTP_SERVER_STATE_OFF;
+ RemoteDebugState remote_debug_state = REMOTE_DEBUG_STATE_UNAVAILABLE;
Ref<EditorHTTPServer> server;
- int menu_options = 0;
String _get_template_name(bool p_extension, bool p_thread_support, bool p_debug) const {
String name = "web";