Rename callable_method_pointer.h to callable_mp.h and include it explicitly

This allows removing it from `class_db.h`, significantly reducing the amount of files
that include it transitively.

Also includes some include cleanup in `control.h` and `rich_text_label.h` done while
ensure they don't depend on `callable_mp`.
This commit is contained in:
Rémi Verschelde 2026-03-04 14:28:13 +01:00
parent 02cbed84ce
commit eabb9a63d4
No known key found for this signature in database
GPG key ID: C3336907360768E1
458 changed files with 507 additions and 97 deletions

View file

@ -31,6 +31,7 @@
#include "editor_plugin.h"
#include "editor_plugin.compat.inc"
#include "core/object/callable_mp.h"
#include "core/object/class_db.h"
#include "editor/debugger/editor_debugger_node.h"
#include "editor/debugger/editor_debugger_plugin.h"

View file

@ -35,6 +35,7 @@
#include "core/io/config_file.h"
#include "core/io/dir_access.h"
#include "core/io/file_access.h"
#include "core/object/callable_mp.h"
#include "editor/editor_node.h"
#include "editor/editor_string_names.h"
#include "editor/themes/editor_scale.h"

View file

@ -32,6 +32,7 @@
#include "core/io/config_file.h"
#include "core/io/dir_access.h"
#include "core/object/callable_mp.h"
#include "core/object/class_db.h"
#include "core/object/script_language.h"
#include "editor/editor_node.h"