Android: Add content provider support to File::ScanDirectoryTree

This commit is contained in:
JosJuice
2020-11-08 16:57:49 +01:00
parent 525268f043
commit 2126f62111
6 changed files with 255 additions and 22 deletions

View File

@ -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();