summaryrefslogtreecommitdiff
path: root/platform/android/export/export_plugin.h
diff options
context:
space:
mode:
authorS.V.I. Vilcrow <svi@vilcrow.net>2023-01-18 21:56:52 +0300
committerS.V.I. Vilcrow <svi@vilcrow.net>2023-01-20 20:54:56 +0300
commitb8bc306fa1fdcc9db93c4425cb1aa9492b92dae5 (patch)
tree9625083f9456cdf3f14ffb0fd445035d9698f26e /platform/android/export/export_plugin.h
parentb5f3ac522e16b2d899604e2d0788a86c66476e78 (diff)
[Android export] Added validation of the project name when using $genname in the 'Unique Name' field.
Diffstat (limited to 'platform/android/export/export_plugin.h')
-rw-r--r--platform/android/export/export_plugin.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/android/export/export_plugin.h b/platform/android/export/export_plugin.h
index a6dfc9fcb3..bff769fcba 100644
--- a/platform/android/export/export_plugin.h
+++ b/platform/android/export/export_plugin.h
@@ -91,9 +91,12 @@ class EditorExportPlatformAndroid : public EditorExportPlatform {
String get_package_name(const String &p_package) const;
+ String get_valid_basename() const;
+
String get_assets_directory(const Ref<EditorExportPreset> &p_preset, int p_export_format) const;
bool is_package_name_valid(const String &p_package, String *r_error = nullptr) const;
+ bool is_project_name_valid() const;
static bool _should_compress_asset(const String &p_path, const Vector<uint8_t> &p_data);