Use forward-declarations in big editor classes
This commit is contained in:
parent
55dae30177
commit
c90d0bd84f
101 changed files with 269 additions and 111 deletions
|
|
@ -32,12 +32,13 @@
|
|||
#define EDITOR_NODE_H
|
||||
|
||||
#include "core/templates/safe_refcount.h"
|
||||
#include "editor/editor_data.h"
|
||||
#include "editor/editor_folding.h"
|
||||
#include "editor/editor_native_shader_source_visualizer.h"
|
||||
#include "editor/editor_plugin.h"
|
||||
#include "editor/editor_run.h"
|
||||
#include "editor/editor_title_bar.h"
|
||||
#include "editor/export/editor_export.h"
|
||||
#include "editor/inspector_dock.h"
|
||||
|
||||
typedef void (*EditorNodeInitCallback)();
|
||||
typedef void (*EditorPluginInitializeCallback)();
|
||||
|
|
@ -46,8 +47,8 @@ typedef bool (*EditorBuildCallback)();
|
|||
class AcceptDialog;
|
||||
class AudioStreamPreviewGenerator;
|
||||
class BackgroundProgress;
|
||||
class Button;
|
||||
class CenterContainer;
|
||||
class CheckBox;
|
||||
class ColorPicker;
|
||||
class ConfirmationDialog;
|
||||
class Control;
|
||||
|
|
@ -59,18 +60,19 @@ class EditorCommandPalette;
|
|||
class EditorExport;
|
||||
class EditorExtensionManager;
|
||||
class EditorFeatureProfileManager;
|
||||
class EditorFileDialog;
|
||||
class EditorFileServer;
|
||||
class EditorFolding;
|
||||
class EditorInspector;
|
||||
class EditorLayoutsDialog;
|
||||
class EditorLog;
|
||||
class EditorPlugin;
|
||||
class EditorPluginList;
|
||||
class EditorQuickOpen;
|
||||
class EditorResourcePreview;
|
||||
class EditorResourceConversionPlugin;
|
||||
class EditorRun;
|
||||
class EditorRunNative;
|
||||
class EditorSelectionHistory;
|
||||
class EditorSettingsDialog;
|
||||
class EditorToaster;
|
||||
class EditorUndoRedoManager;
|
||||
|
|
@ -84,6 +86,7 @@ class LinkButton;
|
|||
class MenuBar;
|
||||
class MenuButton;
|
||||
class NodeDock;
|
||||
class OptionButton;
|
||||
class OrphanResourcesDialog;
|
||||
class Panel;
|
||||
class PanelContainer;
|
||||
|
|
@ -98,7 +101,9 @@ class ScriptCreateDialog;
|
|||
class SubViewport;
|
||||
class TabBar;
|
||||
class TabContainer;
|
||||
class TextureRect;
|
||||
class TextureProgressBar;
|
||||
class Tree;
|
||||
class VSplitContainer;
|
||||
class Window;
|
||||
class EditorBuildProfileManager;
|
||||
|
|
@ -775,7 +780,7 @@ public:
|
|||
bool is_movie_maker_enabled() const;
|
||||
|
||||
void edit_node(Node *p_node);
|
||||
void edit_resource(const Ref<Resource> &p_resource) { InspectorDock::get_singleton()->edit_resource(p_resource); };
|
||||
void edit_resource(const Ref<Resource> &p_resource);
|
||||
|
||||
void save_resource_in_path(const Ref<Resource> &p_resource, const String &p_path);
|
||||
void save_resource(const Ref<Resource> &p_resource);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue