Android: Add content provider support to File::FileInfo

This commit is contained in:
JosJuice
2020-11-05 19:47:23 +01:00
parent 99ffee9a0a
commit a7c05d7e84
7 changed files with 73 additions and 2 deletions

View File

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