summaryrefslogtreecommitdiff
path: root/include/osl
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-10-11 01:52:39 +0200
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2015-10-11 02:03:43 +0200
commit143fb0a4b5d4ab69d4928299d8112ab95d99870a (patch)
tree094673c521e14d4ba52fd706acba07be96bead49 /include/osl
parentee8257a1c70eadb7330b0ee99ec3b86fe4084bdf (diff)
move extracting assets to Java & use AssetManager to access assets
using AssetsManager in both java as well as native parts allows to handle files both with and without compression transparently Change-Id: If02f1159c498be7ea965fd9c217410722f2dca1f
Diffstat (limited to 'include/osl')
-rw-r--r--include/osl/detail/android-bootstrap.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/osl/detail/android-bootstrap.h b/include/osl/detail/android-bootstrap.h
index b18531bb65e2..5a5c7fcbd82d 100644
--- a/include/osl/detail/android-bootstrap.h
+++ b/include/osl/detail/android-bootstrap.h
@@ -20,6 +20,7 @@ extern "C" {
#endif
#include <osl/detail/component-mapping.h>
+#include <android/asset_manager.h>
typedef struct lo_apk_dir lo_apk_dir;
@@ -38,12 +39,10 @@ JavaVM *lo_get_javavm(void);
const char *lo_get_app_data_dir(void);
-#define UNPACK_TREE "/assets/unpack"
-#define UNPACK_TREE_GZ "/assets/gz.unpack"
+AAssetManager *lo_get_native_assetmgr(void);
int setup_cdir(void);
int setup_assets_tree(void);
-void extract_files(const char *root, const char *prefix, int gzipped);
#ifdef __cplusplus
}