diff options
author | Eugene Sandulenko | 2019-09-25 21:47:30 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-27 00:22:20 +0200 |
commit | 580142c9eaf7fafd4f15827545aaa7f4a1d03322 (patch) | |
tree | d5d6fa5625409f3ec19dec07f45a7f411c17976e /backends/platform/android/jni.h | |
parent | 2b72cc0b5ce716a8163ef211887df5c9742983a5 (diff) | |
download | scummvm-rg350-580142c9eaf7fafd4f15827545aaa7f4a1d03322.tar.gz scummvm-rg350-580142c9eaf7fafd4f15827545aaa7f4a1d03322.tar.bz2 scummvm-rg350-580142c9eaf7fafd4f15827545aaa7f4a1d03322.zip |
ANDROID: Hook getAllStorageLocations() into JNI
Diffstat (limited to 'backends/platform/android/jni.h')
-rw-r--r-- | backends/platform/android/jni.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/platform/android/jni.h b/backends/platform/android/jni.h index b6e5df819e..fe4b948070 100644 --- a/backends/platform/android/jni.h +++ b/backends/platform/android/jni.h @@ -30,6 +30,7 @@ #include "common/fs.h" #include "common/archive.h" +#include "common/array.h" class OSystem_Android; @@ -79,6 +80,8 @@ public: static inline int writeAudio(JNIEnv *env, jbyteArray &data, int offset, int size); + static Common::Array<Common::String> getAllStorageLocations(); + private: static JavaVM *_vm; // back pointer to (java) peer instance @@ -104,6 +107,7 @@ private: static jmethodID _MID_showVirtualKeyboard; static jmethodID _MID_showKeyboardControl; static jmethodID _MID_getSysArchives; + static jmethodID _MID_getAllStorageLocations; static jmethodID _MID_initSurface; static jmethodID _MID_deinitSurface; |