summaryrefslogtreecommitdiff
path: root/editor/editor_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_plugin.h')
-rw-r--r--editor/editor_plugin.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/editor_plugin.h b/editor/editor_plugin.h
index 11f4378667..89a6d3d250 100644
--- a/editor/editor_plugin.h
+++ b/editor/editor_plugin.h
@@ -35,6 +35,7 @@
#include "scene/gui/tool_button.h"
#include "scene/main/node.h"
#include "scene/resources/texture.h"
+#include "editor/import/resource_importer_scene.h"
#include "undo_redo.h"
/**
@@ -165,6 +166,7 @@ public:
virtual void forward_force_draw_over_viewport(Control *p_overlay);
virtual bool forward_spatial_gui_input(Camera *p_camera, const Ref<InputEvent> &p_event);
virtual String get_name() const;
+ virtual const Ref<Texture> get_icon() const;
virtual bool has_main_screen() const;
virtual void make_visible(bool p_visible);
virtual void selected_notify() {} //notify that it was raised by the user, not the editor
@@ -199,6 +201,9 @@ public:
void add_export_plugin(const Ref<EditorExportPlugin> &p_exporter);
void remove_export_plugin(const Ref<EditorExportPlugin> &p_exporter);
+ void add_scene_import_plugin(const Ref<EditorSceneImporter> &p_importer);
+ void remove_scene_import_plugin(const Ref<EditorSceneImporter> &p_importer);
+
EditorPlugin();
virtual ~EditorPlugin();
};