summaryrefslogtreecommitdiff
path: root/Source/Android/jni/AndroidCommon/AndroidCommon.h
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2020-11-08 16:57:49 +0100
committerJosJuice <josjuice@gmail.com>2020-12-20 13:24:54 +0100
commit2126f62111a95e3a2386467747e5bf94b9943e1d (patch)
tree450f264e9068e665fbe5107981e1a39eb5b3b528 /Source/Android/jni/AndroidCommon/AndroidCommon.h
parent525268f043a25116dbb5e362d9e3e84b3f4ca5e5 (diff)
Android: Add content provider support to File::ScanDirectoryTree
Diffstat (limited to 'Source/Android/jni/AndroidCommon/AndroidCommon.h')
-rw-r--r--Source/Android/jni/AndroidCommon/AndroidCommon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Android/jni/AndroidCommon/AndroidCommon.h b/Source/Android/jni/AndroidCommon/AndroidCommon.h
index cb14d493b9..a1a1643b40 100644
--- a/Source/Android/jni/AndroidCommon/AndroidCommon.h
+++ b/Source/Android/jni/AndroidCommon/AndroidCommon.h
@@ -6,6 +6,7 @@
#include <ios>
#include <string>
+#include <vector>
#include <jni.h>
@@ -34,6 +35,9 @@ jlong GetAndroidContentSizeAndIsDirectory(const std::string& uri);
// An empty string will be returned for files which do not exist.
std::string GetAndroidContentDisplayName(const std::string& uri);
+// Returns the display names of all children of a directory.
+std::vector<std::string> GetAndroidContentChildNames(const std::string& uri);
+
int GetNetworkIpAddress();
int GetNetworkPrefixLength();
int GetNetworkGateway();