Move extension logic to EditorExportPlatformLinuxBSD

This commit is contained in:
Aaron Franke 2022-03-20 22:30:31 -05:00
parent 5a28b1ae51
commit f301451fa3
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
7 changed files with 31 additions and 25 deletions

View file

@ -38,9 +38,12 @@
#include "scene/resources/texture.h"
class EditorExportPlatformLinuxBSD : public EditorExportPlatformPC {
Map<String, String> extensions;
Error _export_debug_script(const Ref<EditorExportPreset> &p_preset, const String &p_app_name, const String &p_pkg_name, const String &p_path);
public:
void set_extension(const String &p_extension, const String &p_feature_key = "default");
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;
virtual Error fixup_embedded_pck(const String &p_path, int64_t p_embedded_start, int64_t p_embedded_size) const override;
};