diff options
author | Fredia Huya-Kouadio <fhuya@fb.com> | 2022-07-17 15:26:03 -0400 |
---|---|---|
committer | Fredia Huya-Kouadio <fhuyakou@gmail.com> | 2022-08-14 09:12:04 -0700 |
commit | 45c73775561808ccb2eb4a59927d9c59965e3d20 (patch) | |
tree | 52ebf81a51700c95c46853b6788705cadea8eb38 /platform/javascript/export/export_plugin.h | |
parent | 5aacac5853591eafe4409fd654d91b7f7cbb9e2a (diff) | |
download | redot-engine-45c73775561808ccb2eb4a59927d9c59965e3d20.tar.gz |
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.h | 3 |
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; |