summaryrefslogtreecommitdiffstats
path: root/platform/uwp/export
diff options
context:
space:
mode:
Diffstat (limited to 'platform/uwp/export')
-rw-r--r--platform/uwp/export/export.cpp4
-rw-r--r--platform/uwp/export/export.h1
-rw-r--r--platform/uwp/export/export_plugin.cpp2
-rw-r--r--platform/uwp/export/export_plugin.h2
4 files changed, 7 insertions, 2 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp
index f2b2fa30ce..85964c53e6 100644
--- a/platform/uwp/export/export.cpp
+++ b/platform/uwp/export/export.cpp
@@ -33,6 +33,10 @@
#include "editor/editor_settings.h"
#include "export_plugin.h"
+void register_uwp_exporter_types() {
+ // GDREGISTER_VIRTUAL_CLASS(EditorExportPlatformUWP);
+}
+
void register_uwp_exporter() {
#ifdef WINDOWS_ENABLED
EDITOR_DEF("export/uwp/signtool", "");
diff --git a/platform/uwp/export/export.h b/platform/uwp/export/export.h
index 09449fc53b..d2053e02b1 100644
--- a/platform/uwp/export/export.h
+++ b/platform/uwp/export/export.h
@@ -31,6 +31,7 @@
#ifndef UWP_EXPORT_H
#define UWP_EXPORT_H
+void register_uwp_exporter_types();
void register_uwp_exporter();
#endif // UWP_EXPORT_H
diff --git a/platform/uwp/export/export_plugin.cpp b/platform/uwp/export/export_plugin.cpp
index f810cb0ca9..163236e506 100644
--- a/platform/uwp/export/export_plugin.cpp
+++ b/platform/uwp/export/export_plugin.cpp
@@ -62,7 +62,7 @@ void EditorExportPlatformUWP::get_preset_features(const Ref<EditorExportPreset>
r_features->push_back(p_preset->get("binary_format/architecture"));
}
-void EditorExportPlatformUWP::get_export_options(List<ExportOption> *r_options) {
+void EditorExportPlatformUWP::get_export_options(List<ExportOption> *r_options) const {
r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_template/debug", PROPERTY_HINT_GLOBAL_FILE, "*.zip"), ""));
r_options->push_back(ExportOption(PropertyInfo(Variant::STRING, "custom_template/release", PROPERTY_HINT_GLOBAL_FILE, "*.zip"), ""));
diff --git a/platform/uwp/export/export_plugin.h b/platform/uwp/export/export_plugin.h
index d015fcabcd..37a32b1f7f 100644
--- a/platform/uwp/export/export_plugin.h
+++ b/platform/uwp/export/export_plugin.h
@@ -427,7 +427,7 @@ public:
virtual void get_preset_features(const Ref<EditorExportPreset> &p_preset, List<String> *r_features) const override;
- virtual void get_export_options(List<ExportOption> *r_options) override;
+ virtual void get_export_options(List<ExportOption> *r_options) 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;