summaryrefslogtreecommitdiff
path: root/platform/javascript/export/export_plugin.h
diff options
context:
space:
mode:
authorFredia Huya-Kouadio <fhuya@fb.com>2022-08-14 19:26:22 -0700
committerGitHub <noreply@github.com>2022-08-14 19:26:22 -0700
commit5a8d786ef9dcfd5b206ec3eeb5e369930e773acc (patch)
tree2274723d72b9dabc2107a6cc87b86b22288c1d13 /platform/javascript/export/export_plugin.h
parent128d68796d9f412a5b05cca8714f217341cfa376 (diff)
parent45c73775561808ccb2eb4a59927d9c59965e3d20 (diff)
Merge pull request #63122 from m4gr3d/split_can_export_main
Refactor the export checking logic to improve separation of concerns
Diffstat (limited to 'platform/javascript/export/export_plugin.h')
-rw-r--r--platform/javascript/export/export_plugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/javascript/export/export_plugin.h b/platform/javascript/export/export_plugin.h
index fbaa3615cb..16bab02d54 100644
--- a/platform/javascript/export/export_plugin.h
+++ b/platform/javascript/export/export_plugin.h
@@ -118,7 +118,8 @@ public:
virtual String get_os_name() const override;
virtual Ref<Texture2D> get_logo() const override;
- virtual bool can_export(const Ref<EditorExportPreset> &p_preset, String &r_error, bool &r_missing_templates) const override;
+ virtual bool has_valid_export_configuration(const Ref<EditorExportPreset> &p_preset, String &r_error, bool &r_missing_templates) const override;
+ virtual bool has_valid_project_configuration(const Ref<EditorExportPreset> &p_preset, String &r_error) const override;
virtual List<String> get_binary_extensions(const Ref<EditorExportPreset> &p_preset) const override;
virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0) override;