Move project export and export template manager into export folder

This commit is contained in:
Aaron Franke 2022-07-20 17:45:01 -05:00
parent e53ae13178
commit 006e5f28d5
No known key found for this signature in database
GPG Key ID: 40A1750B977E56BF
5 changed files with 31 additions and 46 deletions

View File

@ -104,7 +104,8 @@
#include "editor/editor_toaster.h" #include "editor/editor_toaster.h"
#include "editor/editor_translation_parser.h" #include "editor/editor_translation_parser.h"
#include "editor/export/editor_export.h" #include "editor/export/editor_export.h"
#include "editor/export_template_manager.h" #include "editor/export/export_template_manager.h"
#include "editor/export/project_export.h"
#include "editor/filesystem_dock.h" #include "editor/filesystem_dock.h"
#include "editor/import/audio_stream_import_settings.h" #include "editor/import/audio_stream_import_settings.h"
#include "editor/import/dynamic_font_import_settings.h" #include "editor/import/dynamic_font_import_settings.h"
@ -199,7 +200,6 @@
#include "editor/plugins/visual_shader_editor_plugin.h" #include "editor/plugins/visual_shader_editor_plugin.h"
#include "editor/plugins/voxel_gi_editor_plugin.h" #include "editor/plugins/voxel_gi_editor_plugin.h"
#include "editor/progress_dialog.h" #include "editor/progress_dialog.h"
#include "editor/project_export.h"
#include "editor/project_settings_editor.h" #include "editor/project_settings_editor.h"
#include "editor/register_exporters.h" #include "editor/register_exporters.h"
#include "editor/scene_tree_dock.h" #include "editor/scene_tree_dock.h"

View File

@ -30,18 +30,17 @@
#include "export_template_manager.h" #include "export_template_manager.h"
#include "core/input/input.h"
#include "core/io/dir_access.h" #include "core/io/dir_access.h"
#include "core/io/json.h" #include "core/io/json.h"
#include "core/io/zip_io.h" #include "core/io/zip_io.h"
#include "core/os/keyboard.h"
#include "core/templates/rb_set.h"
#include "core/version.h" #include "core/version.h"
#include "editor/editor_node.h" #include "editor/editor_node.h"
#include "editor/editor_paths.h" #include "editor/editor_paths.h"
#include "editor/editor_scale.h" #include "editor/editor_scale.h"
#include "progress_dialog.h" #include "editor/progress_dialog.h"
#include "scene/gui/link_button.h" #include "scene/gui/file_dialog.h"
#include "scene/gui/tree.h"
#include "scene/main/http_request.h"
void ExportTemplateManager::_update_template_status() { void ExportTemplateManager::_update_template_status() {
// Fetch installed templates from the file system. // Fetch installed templates from the file system.

View File

@ -31,15 +31,15 @@
#ifndef EXPORT_TEMPLATE_MANAGER_H #ifndef EXPORT_TEMPLATE_MANAGER_H
#define EXPORT_TEMPLATE_MANAGER_H #define EXPORT_TEMPLATE_MANAGER_H
#include "editor/editor_settings.h"
#include "scene/gui/dialogs.h" #include "scene/gui/dialogs.h"
#include "scene/gui/file_dialog.h"
#include "scene/gui/menu_button.h"
#include "scene/gui/progress_bar.h"
#include "scene/gui/scroll_container.h"
#include "scene/main/http_request.h"
class ExportTemplateVersion; class ExportTemplateVersion;
class FileDialog;
class HTTPRequest;
class MenuButton;
class OptionButton;
class ProgressBar;
class Tree;
class ExportTemplateManager : public AcceptDialog { class ExportTemplateManager : public AcceptDialog {
GDCLASS(ExportTemplateManager, AcceptDialog); GDCLASS(ExportTemplateManager, AcceptDialog);

View File

@ -31,23 +31,15 @@
#include "project_export.h" #include "project_export.h"
#include "core/config/project_settings.h" #include "core/config/project_settings.h"
#include "core/io/dir_access.h" #include "core/version.h"
#include "core/io/file_access.h"
#include "core/io/image_loader.h"
#include "core/io/resource_loader.h"
#include "core/io/resource_saver.h"
#include "core/os/os.h"
#include "core/string/optimized_translation.h"
#include "core/version_generated.gen.h"
#include "editor/editor_file_dialog.h" #include "editor/editor_file_dialog.h"
#include "editor/editor_file_system.h"
#include "editor/editor_node.h" #include "editor/editor_node.h"
#include "editor/editor_properties.h"
#include "editor/editor_scale.h" #include "editor/editor_scale.h"
#include "editor/editor_settings.h" #include "editor/export/editor_export.h"
#include "scene/gui/box_container.h" #include "scene/gui/link_button.h"
#include "scene/gui/margin_container.h" #include "scene/gui/tree.h"
#include "scene/gui/scroll_container.h"
#include "scene/gui/tab_container.h"
#include "servers/display_server.h"
void ProjectExportDialog::_theme_changed() { void ProjectExportDialog::_theme_changed() {
duplicate_preset->set_icon(presets->get_theme_icon(SNAME("Duplicate"), SNAME("EditorIcons"))); duplicate_preset->set_icon(presets->get_theme_icon(SNAME("Duplicate"), SNAME("EditorIcons")));

View File

@ -31,28 +31,22 @@
#ifndef PROJECT_EXPORT_H #ifndef PROJECT_EXPORT_H
#define PROJECT_EXPORT_H #define PROJECT_EXPORT_H
#include "core/io/dir_access.h"
#include "core/os/thread.h"
#include "editor/editor_file_system.h"
#include "editor/editor_inspector.h"
#include "editor/editor_properties.h"
#include "editor/export/editor_export.h"
#include "scene/gui/button.h"
#include "scene/gui/check_button.h"
#include "scene/gui/control.h"
#include "scene/gui/dialogs.h" #include "scene/gui/dialogs.h"
#include "scene/gui/file_dialog.h"
#include "scene/gui/label.h"
#include "scene/gui/link_button.h"
#include "scene/gui/menu_button.h"
#include "scene/gui/option_button.h"
#include "scene/gui/rich_text_label.h"
#include "scene/gui/slider.h"
#include "scene/gui/tab_container.h"
#include "scene/gui/tree.h"
#include "scene/main/timer.h"
class CheckBox;
class CheckButton;
class EditorExportPreset;
class EditorFileDialog; class EditorFileDialog;
class EditorFileSystemDirectory;
class EditorInspector;
class EditorPropertyPath;
class ItemList;
class MenuButton;
class OptionButton;
class RichTextLabel;
class TabContainer;
class Tree;
class TreeItem;
class ProjectExportDialog : public ConfirmationDialog { class ProjectExportDialog : public ConfirmationDialog {
GDCLASS(ProjectExportDialog, ConfirmationDialog); GDCLASS(ProjectExportDialog, ConfirmationDialog);