summaryrefslogtreecommitdiffstats
path: root/platform/android/file_access_filesystem_jandroid.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-04-22 12:51:55 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-04-22 12:51:55 +0200
commit504d01b61eaa3e0d1af0a4cea866c18ecfc1395c (patch)
tree20086da672e04f63a91c945581b062ff20e97939 /platform/android/file_access_filesystem_jandroid.h
parent0b89b8b64c60b7fb7e9f1c26bf20b2c7d7c0adac (diff)
parent88b3e68f93fad5681b27b11ddacc562b03d5ef45 (diff)
downloadredot-engine-504d01b61eaa3e0d1af0a4cea866c18ecfc1395c.tar.gz
Merge pull request #90403 from bruvzg/file_resize
[FileAccess] Implement `resize` method.
Diffstat (limited to 'platform/android/file_access_filesystem_jandroid.h')
-rw-r--r--platform/android/file_access_filesystem_jandroid.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/file_access_filesystem_jandroid.h b/platform/android/file_access_filesystem_jandroid.h
index f33aa64ebe..4a28b6e3d5 100644
--- a/platform/android/file_access_filesystem_jandroid.h
+++ b/platform/android/file_access_filesystem_jandroid.h
@@ -52,6 +52,7 @@ class FileAccessFilesystemJAndroid : public FileAccess {
static jmethodID _file_close;
static jmethodID _file_exists;
static jmethodID _file_last_modified;
+ static jmethodID _file_resize;
int id;
String absolute_path;
@@ -76,6 +77,7 @@ public:
virtual bool eof_reached() const override; ///< reading passed EOF
+ virtual Error resize(int64_t p_length) override;
virtual uint8_t get_8() const override; ///< get a byte
virtual uint16_t get_16() const override;
virtual uint32_t get_32() const override;