summaryrefslogtreecommitdiff
path: root/Source/Android/jni/AndroidCommon/AndroidCommon.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-11-05 19:47:23 +0100
committerJosJuice <josjuice@gmail.com>2020-12-20 13:24:54 +0100
commita7c05d7e84df5949e8edf42fa6332d6aa58282f6 (patch)
tree8d0d1bc7ba04a6c7131ddcbb6c15424ea64a8d8e /Source/Android/jni/AndroidCommon/AndroidCommon.h
parent99ffee9a0acc3200f8c8af7b3fc58af2d38fb614 (diff)
Android: Add content provider support to File::FileInfo
Diffstat (limited to 'Source/Android/jni/AndroidCommon/AndroidCommon.h')
-rw-r--r--Source/Android/jni/AndroidCommon/AndroidCommon.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/Android/jni/AndroidCommon/AndroidCommon.h b/Source/Android/jni/AndroidCommon/AndroidCommon.h
index a196108cfe..5502363c9c 100644
--- a/Source/Android/jni/AndroidCommon/AndroidCommon.h
+++ b/Source/Android/jni/AndroidCommon/AndroidCommon.h
@@ -25,6 +25,9 @@ int OpenAndroidContent(const std::string& uri, const std::string& mode);
// Deletes a given file.
bool DeleteAndroidContent(const std::string& uri);
+// Returns -1 if not found, -2 if directory, file size otherwise.
+jlong GetAndroidContentSizeAndIsDirectory(const std::string& uri);
+
int GetNetworkIpAddress();
int GetNetworkPrefixLength();
int GetNetworkGateway();