diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-01-19 21:04:52 +0800 |
---|---|---|
committer | Haoyu Qiu <timothyqiu32@gmail.com> | 2022-01-19 23:44:20 +0800 |
commit | 314f309035c9d50b41720e02550f31f89751fce0 (patch) | |
tree | b1b75a65c452c33218cacde385514791bbe03e03 /platform/android/java_godot_wrapper.h | |
parent | 8b8e858778bbf9e0dad66335f351920332c547de (diff) |
Add `DisplayServer.clipboard_has()` to check clipboard content
Diffstat (limited to 'platform/android/java_godot_wrapper.h')
-rw-r--r-- | platform/android/java_godot_wrapper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/android/java_godot_wrapper.h b/platform/android/java_godot_wrapper.h index 4d058ac426..42ae91480f 100644 --- a/platform/android/java_godot_wrapper.h +++ b/platform/android/java_godot_wrapper.h @@ -58,6 +58,7 @@ private: jmethodID _get_GLES_version_code = 0; jmethodID _get_clipboard = 0; jmethodID _set_clipboard = 0; + jmethodID _has_clipboard = 0; jmethodID _request_permission = 0; jmethodID _request_permissions = 0; jmethodID _get_granted_permissions = 0; @@ -92,6 +93,8 @@ public: String get_clipboard(); bool has_set_clipboard(); void set_clipboard(const String &p_text); + bool has_has_clipboard(); + bool has_clipboard(); bool request_permission(const String &p_name); bool request_permissions(); Vector<String> get_granted_permissions() const; |