summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2019-02-18 13:25:40 +0100
committerJan Holesovsky <kendy@collabora.com>2019-03-11 17:44:10 +0100
commitf43483ce36b8a50ecc9266f26bc7b4ac302c6661 (patch)
tree52848e0d6241d9765f9900947215f83c724ec67f /include/osl
parent35cae83fd9ff174327092cc7fd9cc769ace71f4d (diff)
android: Expose setting of the JavaVM.
Needed when we use the liblo-native-code as a library. Change-Id: Ia4d1d72f2203a96d1196d015b521201919bbb165 Reviewed-on: https://gerrit.libreoffice.org/67965 Tested-by: Jenkins Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/detail/android-bootstrap.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/osl/detail/android-bootstrap.h b/include/osl/detail/android-bootstrap.h
index 5a5c7fcbd82d..169f3efaf282 100644
--- a/include/osl/detail/android-bootstrap.h
+++ b/include/osl/detail/android-bootstrap.h
@@ -35,6 +35,10 @@ int lo_apk_closedir(lo_apk_dir *dirp);
int lo_apk_lstat(const char *path, struct stat *statp);
+/// "libreofficekit_" prefix, because it is exported from the .so, when we are
+/// initializing the JNI externally.
+void libreofficekit_set_javavm(JavaVM *vm);
+
JavaVM *lo_get_javavm(void);
const char *lo_get_app_data_dir(void);