summaryrefslogtreecommitdiff
path: root/editor/editor_export.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/editor_export.h')
-rw-r--r--editor/editor_export.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/editor/editor_export.h b/editor/editor_export.h
index fe3c3df7d4..1c9f5b3354 100644
--- a/editor/editor_export.h
+++ b/editor/editor_export.h
@@ -152,7 +152,8 @@ private:
protected:
virtual void get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) = 0;
- String find_export_template(String template_file_name, String *err = NULL) const;
+ String find_export_template(String template_file_name) const;
+ void gen_export_flags(Vector<String> &r_flags, int p_flags);
public:
struct ExportOption {
@@ -190,7 +191,7 @@ public:
DEBUG_FLAG_VIEW_NAVIGATION = 16,
};
- virtual Error run(int p_device, int p_debug_flags) { return OK; }
+ virtual Error run(const Ref<EditorExportPreset> &p_preset, int p_device, int p_debug_flags) { return OK; }
virtual bool can_export(const Ref<EditorExportPreset> &p_preset, String &r_error, bool &r_missing_templates) const = 0;
@@ -234,6 +235,8 @@ public:
void load_config();
+ bool poll_export_platforms();
+
EditorExport();
~EditorExport();
};