diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-14 16:37:11 +0100 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-11-14 16:37:11 +0100 |
| commit | 2f573f211ef821f293a0c9f1f0121d471215933d (patch) | |
| tree | 00b7505b44198cd065cf02a80a676c62adc035cd /editor/debugger/editor_debugger_node.h | |
| parent | 471c42ee1fe2c84b4f248e7194a2b10b562ff508 (diff) | |
| parent | 67265d14f7aac8fdd3f7394495a9bf2eef972810 (diff) | |
| download | redot-engine-2f573f211ef821f293a0c9f1f0121d471215933d.tar.gz | |
Merge pull request #66938 from Faless/mp/4.x_debugger_split
[Editor] Better expose editor debugger plugins, use it in the multiplayer module.
Diffstat (limited to 'editor/debugger/editor_debugger_node.h')
| -rw-r--r-- | editor/debugger/editor_debugger_node.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/editor/debugger/editor_debugger_node.h b/editor/debugger/editor_debugger_node.h index 305f18a652..259efeb47b 100644 --- a/editor/debugger/editor_debugger_node.h +++ b/editor/debugger/editor_debugger_node.h @@ -36,6 +36,7 @@ class Button; class DebugAdapterParser; +class EditorDebuggerPlugin; class EditorDebuggerTree; class EditorDebuggerRemoteObject; class MenuButton; @@ -113,7 +114,7 @@ private: CameraOverride camera_override = OVERRIDE_NONE; HashMap<Breakpoint, bool, Breakpoint> breakpoints; - HashSet<Ref<Script>> debugger_plugins; + HashSet<Ref<EditorDebuggerPlugin>> debugger_plugins; ScriptEditorDebugger *_add_debugger(); EditorDebuggerRemoteObject *get_inspected_remote_object(); @@ -205,8 +206,9 @@ public: Error start(const String &p_uri = "tcp://"); void stop(); - void add_debugger_plugin(const Ref<Script> &p_script); - void remove_debugger_plugin(const Ref<Script> &p_script); + bool plugins_capture(ScriptEditorDebugger *p_debugger, const String &p_message, const Array &p_data); + void add_debugger_plugin(const Ref<EditorDebuggerPlugin> &p_plugin); + void remove_debugger_plugin(const Ref<EditorDebuggerPlugin> &p_plugin); }; #endif // EDITOR_DEBUGGER_NODE_H |
