aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_export.h
diff options
context:
space:
mode:
authorNathan Warden2017-12-12 16:09:48 -0500
committerNathan Warden2017-12-12 16:09:48 -0500
commitf89d78a7a474612ec715e5c5da150f97dd716057 (patch)
treea233b768e7a3e291be5a401f506542ddfb957c99 /editor/editor_export.h
parent1401b07d328101e11bfd11ad390ace9eff059ee8 (diff)
downloadgodot-f89d78a7a474612ec715e5c5da150f97dd716057.tar.gz
godot-f89d78a7a474612ec715e5c5da150f97dd716057.tar.zst
godot-f89d78a7a474612ec715e5c5da150f97dd716057.zip
Diffstat (limited to 'editor/editor_export.h')
-rw-r--r--editor/editor_export.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/editor_export.h b/editor/editor_export.h
index 215a770a1..6621b8060 100644
--- a/editor/editor_export.h
+++ b/editor/editor_export.h
@@ -240,7 +240,7 @@ public:
virtual bool can_export(const Ref<EditorExportPreset> &p_preset, String &r_error, bool &r_missing_templates) const = 0;
- virtual String get_binary_extension() const = 0;
+ virtual String get_binary_extension(const Ref<EditorExportPreset> &p_preset) const = 0;
virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0) = 0;
virtual void get_platform_features(List<String> *r_features) = 0;
@@ -363,7 +363,7 @@ class EditorExportPlatformPC : public EditorExportPlatform {
Ref<ImageTexture> logo;
String name;
String os_name;
- String extension;
+ Map<String, String> extensions;
String release_file_32;
String release_file_64;
@@ -385,10 +385,10 @@ public:
virtual Ref<Texture> get_logo() const;
virtual bool can_export(const Ref<EditorExportPreset> &p_preset, String &r_error, bool &r_missing_templates) const;
- virtual String get_binary_extension() const;
+ virtual String get_binary_extension(const Ref<EditorExportPreset> &p_preset) const;
virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0);
- void set_extension(const String &p_extension);
+ void set_extension(const String &p_extension, const String &p_feature_key = "default");
void set_name(const String &p_name);
void set_os_name(const String &p_name);