android/Context: add GetExternalFilesDir()

This commit is contained in:
Max Kellermann
2021-08-24 21:58:09 +02:00
parent 811860c3b4
commit 2dba06dc34
2 changed files with 23 additions and 0 deletions

View File

@@ -30,6 +30,10 @@ public:
Context(JNIEnv *env, jobject obj) noexcept
:Java::GlobalObject(env, obj) {}
[[gnu::pure]]
AllocatedPath GetExternalFilesDir(JNIEnv *env,
const char *type) noexcept;
[[gnu::pure]]
AllocatedPath GetCacheDir(JNIEnv *env) const noexcept;