summaryrefslogtreecommitdiffstats
path: root/platform/android/java_godot_wrapper.h
diff options
context:
space:
mode:
authorGeorge L. Albany <Megacake1234@gmail.com>2024-11-03 05:10:14 +0000
committerGitHub <noreply@github.com>2024-11-03 05:10:14 +0000
commit70f9c12cfbcea6dff89b2a6f4868a9e6fe3866f8 (patch)
treef202e4a27092f0fdd9d579eb46e6828ecb4673e1 /platform/android/java_godot_wrapper.h
parent9043ceac65972c4195dd71f15a8a1cc7aa72985f (diff)
parenta684ee1dec108bb1a050f07ec3dd73fd5ef02dbc (diff)
downloadredot-engine-70f9c12cfbcea6dff89b2a6f4868a9e6fe3866f8.tar.gz
Merge pull request #834 from Spartan322/merge/c6c464c
Merge commit godotengine/godot@c6c464c
Diffstat (limited to 'platform/android/java_godot_wrapper.h')
-rw-r--r--platform/android/java_godot_wrapper.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/java_godot_wrapper.h b/platform/android/java_godot_wrapper.h
index ed31499984..d344cab836 100644
--- a/platform/android/java_godot_wrapper.h
+++ b/platform/android/java_godot_wrapper.h
@@ -61,6 +61,7 @@ private:
jmethodID _set_clipboard = nullptr;
jmethodID _has_clipboard = nullptr;
jmethodID _show_input_dialog = nullptr;
+ jmethodID _show_file_picker = nullptr;
jmethodID _request_permission = nullptr;
jmethodID _request_permissions = nullptr;
jmethodID _get_granted_permissions = nullptr;
@@ -107,6 +108,7 @@ public:
bool has_has_clipboard();
bool has_clipboard();
Error show_input_dialog(const String &p_title, const String &p_message, const String &p_existing_text);
+ Error show_file_picker(const String &p_current_directory, const String &p_filename, int p_mode, const Vector<String> &p_filters);
bool request_permission(const String &p_name);
bool request_permissions();
Vector<String> get_granted_permissions() const;