summaryrefslogtreecommitdiff
path: root/platform/android/export/export_plugin.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-20 23:59:34 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-20 23:59:34 +0100
commit28b2e43adf275ce030c68a27bacf1b0bfafb6505 (patch)
treefb5b709c22f57fba250c08dcae940eaed857fc2b /platform/android/export/export_plugin.h
parent9891aea85e7aab4dc6d47c61451033ecf2ef8cdb (diff)
parentb8bc306fa1fdcc9db93c4425cb1aa9492b92dae5 (diff)
Merge pull request #71646 from Vilcrow/android-export-genname-check
[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);