Remove typed_dictionary.h include

This commit is contained in:
Yufeng Ying 2025-10-14 03:31:19 +08:00 committed by Yyf2333
parent ad4c2c3da8
commit 37164e28f0
4 changed files with 11 additions and 6 deletions

View file

@ -33,6 +33,7 @@
#include "core/debugger/debugger_marshalls.h"
#include "core/io/marshalls.h"
#include "core/io/resource_loader.h"
#include "core/variant/typed_dictionary.h"
#include "editor/docks/inspector_dock.h"
#include "editor/editor_node.h"
#include "editor/editor_undo_redo_manager.h"
@ -113,6 +114,11 @@ Variant EditorDebuggerRemoteObjects::get_variant(const StringName &p_name) {
return var;
}
void EditorDebuggerRemoteObjects::clear() {
prop_list.clear();
prop_values.clear();
}
void EditorDebuggerRemoteObjects::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_title"), &EditorDebuggerRemoteObjects::get_title);
ClassDB::bind_method("_hide_script_from_inspector", &EditorDebuggerRemoteObjects::_hide_script_from_inspector);

View file

@ -30,11 +30,13 @@
#pragma once
#include "core/variant/typed_dictionary.h"
#include "editor/inspector/editor_inspector.h"
class SceneDebuggerObject;
template <typename K, typename V>
class TypedDictionary;
class EditorDebuggerRemoteObjects : public Object {
GDCLASS(EditorDebuggerRemoteObjects, Object);
@ -60,10 +62,7 @@ public:
String get_title();
Variant get_variant(const StringName &p_name);
void clear() {
prop_list.clear();
prop_values.clear();
}
void clear();
void update() { notify_property_list_changed(); }
};

View file

@ -34,6 +34,7 @@
#include "core/debugger/debugger_marshalls.h"
#include "core/debugger/remote_debugger.h"
#include "core/string/ustring.h"
#include "core/variant/typed_dictionary.h"
#include "core/version.h"
#include "editor/debugger/editor_debugger_plugin.h"
#include "editor/debugger/editor_expression_evaluator.h"

View file

@ -30,7 +30,6 @@
#pragma once
#include "core/variant/typed_dictionary.h"
#include "scene/gui/box_container.h"
#include "scene/gui/graph_frame.h"
#include "scene/gui/graph_node.h"