Merge pull request #60684 from trollodel/lightweight_editor_plugin
Use forward-declarations in EditorPlugin where possible
This commit is contained in:
@@ -36,6 +36,8 @@
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor_scene_importer_gltf.h"
|
||||
|
||||
class EditorFileDialog;
|
||||
|
||||
class SceneExporterGLTFPlugin : public EditorPlugin {
|
||||
GDCLASS(SceneExporterGLTFPlugin, EditorPlugin);
|
||||
|
||||
|
||||
@@ -35,11 +35,14 @@
|
||||
|
||||
#include "../grid_map.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
#include "scene/gui/item_list.h"
|
||||
#include "scene/gui/slider.h"
|
||||
#include "scene/gui/spin_box.h"
|
||||
|
||||
class ConfirmationDialog;
|
||||
class EditorUndoRedoManager;
|
||||
class MenuButton;
|
||||
class Node3DEditorPlugin;
|
||||
|
||||
class GridMapEditor : public VBoxContainer {
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include "editor/editor_settings.h"
|
||||
#include "editor/editor_undo_redo_manager.h"
|
||||
#include "editor/inspector_dock.h"
|
||||
#include "editor/property_selector.h"
|
||||
#include "editor/scene_tree_editor.h"
|
||||
#include "modules/multiplayer/multiplayer_synchronizer.h"
|
||||
#include "scene/gui/dialogs.h"
|
||||
|
||||
@@ -32,17 +32,17 @@
|
||||
#define REPLICATION_EDITOR_PLUGIN_H
|
||||
|
||||
#include "editor/editor_plugin.h"
|
||||
|
||||
#include "editor/editor_spin_slider.h"
|
||||
#include "editor/property_selector.h"
|
||||
|
||||
#include "../scene_replication_config.h"
|
||||
#include "modules/multiplayer/scene_replication_config.h"
|
||||
#include "scene/gui/box_container.h"
|
||||
|
||||
class ConfirmationDialog;
|
||||
class MultiplayerSynchronizer;
|
||||
class SceneTreeDialog;
|
||||
class AcceptDialog;
|
||||
class LineEdit;
|
||||
class Tree;
|
||||
class TreeItem;
|
||||
class PropertySelector;
|
||||
class SceneTreeDialog;
|
||||
|
||||
class ReplicationEditor : public VBoxContainer {
|
||||
GDCLASS(ReplicationEditor, VBoxContainer);
|
||||
|
||||
@@ -35,6 +35,8 @@
|
||||
|
||||
#include "editor/editor_plugin.h"
|
||||
|
||||
class AcceptDialog;
|
||||
class HBoxContainer;
|
||||
class NavigationRegion3D;
|
||||
|
||||
class NavigationMeshEditor : public Control {
|
||||
|
||||
@@ -32,7 +32,9 @@
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
|
||||
#include "editor/editor_inspector.h"
|
||||
#include "editor/editor_scale.h"
|
||||
#include "scene/gui/texture_rect.h"
|
||||
|
||||
#include "modules/noise/noise.h"
|
||||
#include "modules/noise/noise_texture_2d.h"
|
||||
|
||||
Reference in New Issue
Block a user