summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/export/export_plugin.h
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2023-03-09 10:41:52 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-04-19 08:35:59 +0300
commit0088981c4048c1779980a694986d715b11be1a45 (patch)
treeed8c5f309ad767a7b4e35b558fd65ee081298023 /platform/linuxbsd/export/export_plugin.h
parent1b4b8934e080ec5300c78547527517f4a5b733e9 (diff)
downloadredot-engine-0088981c4048c1779980a694986d715b11be1a45.tar.gz
[Export] Add readable descriptions and validation warnings to the export options.
Diffstat (limited to 'platform/linuxbsd/export/export_plugin.h')
-rw-r--r--platform/linuxbsd/export/export_plugin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/linuxbsd/export/export_plugin.h b/platform/linuxbsd/export/export_plugin.h
index 4f860c3fd0..cef714e86e 100644
--- a/platform/linuxbsd/export/export_plugin.h
+++ b/platform/linuxbsd/export/export_plugin.h
@@ -37,6 +37,8 @@
#include "scene/resources/texture.h"
class EditorExportPlatformLinuxBSD : public EditorExportPlatformPC {
+ GDCLASS(EditorExportPlatformLinuxBSD, EditorExportPlatformPC);
+
HashMap<String, String> extensions;
struct SSHCleanupCommand {
@@ -69,8 +71,9 @@ class EditorExportPlatformLinuxBSD : public EditorExportPlatformPC {
Error _export_debug_script(const Ref<EditorExportPreset> &p_preset, const String &p_app_name, const String &p_pkg_name, const String &p_path);
public:
- virtual void get_export_options(List<ExportOption> *r_options) override;
+ virtual void get_export_options(List<ExportOption> *r_options) const override;
virtual List<String> get_binary_extensions(const Ref<EditorExportPreset> &p_preset) const override;
+ virtual bool get_export_option_visibility(const EditorExportPreset *p_preset, const String &p_option) const override;
virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0) override;
virtual String get_template_file_name(const String &p_target, const String &p_arch) const override;
virtual Error fixup_embedded_pck(const String &p_path, int64_t p_embedded_start, int64_t p_embedded_size) override;