You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-06 17:25:19 +00:00
Update editor debugger to new remote debugger.
Shared RemoteDebuggerPeer code between client and server. Move editor profilers inside editor/debugger folder.
This commit is contained in:
@@ -31,29 +31,19 @@
|
||||
#ifndef EDITOR_DEBUGGER_CONNECTION_H
|
||||
#define EDITOR_DEBUGGER_CONNECTION_H
|
||||
|
||||
#include "core/debugger/remote_debugger_peer.h"
|
||||
#include "core/reference.h"
|
||||
|
||||
class EditorDebuggerPeer : public Reference {
|
||||
|
||||
public:
|
||||
virtual bool has_message() = 0;
|
||||
virtual Array get_message() = 0;
|
||||
virtual Error put_message(const Array p_arr) = 0;
|
||||
|
||||
virtual int get_max_message_size() const = 0;
|
||||
virtual bool is_peer_connected() = 0;
|
||||
virtual void close() = 0;
|
||||
};
|
||||
|
||||
class EditorDebuggerServer : public Reference {
|
||||
|
||||
public:
|
||||
static EditorDebuggerServer *create_default();
|
||||
virtual void poll() = 0;
|
||||
virtual Error start() = 0;
|
||||
virtual void stop() = 0;
|
||||
virtual bool is_active() const = 0;
|
||||
virtual bool is_connection_available() const = 0;
|
||||
virtual Ref<EditorDebuggerPeer> take_connection() = 0;
|
||||
virtual Ref<RemoteDebuggerPeer> take_connection() = 0;
|
||||
};
|
||||
|
||||
#endif // EDITOR_DEBUGGER_CONNECTION_H
|
||||
|
||||
Reference in New Issue
Block a user