diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-04-11 17:18:09 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-04-24 10:42:10 +0200 |
commit | 197f0ca6b418a27412bfcc7e891ab80949fd8833 (patch) | |
tree | bb7dd2400bfc002dc5794466d3a74d39a80f8b00 /include/mbgl/storage | |
parent | eed7dedf030ed71aac6d004becef42dbec5606bf (diff) | |
download | qtlocation-mapboxgl-197f0ca6b418a27412bfcc7e891ab80949fd8833.tar.gz |
[android] use AAssetManager instead of libzip
Diffstat (limited to 'include/mbgl/storage')
-rw-r--r-- | include/mbgl/storage/default_file_source.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/storage/default_file_source.hpp b/include/mbgl/storage/default_file_source.hpp index db3bff5cd6..f612a01aac 100644 --- a/include/mbgl/storage/default_file_source.hpp +++ b/include/mbgl/storage/default_file_source.hpp @@ -24,6 +24,9 @@ public: DefaultFileSource(const std::string& cachePath, const std::string& assetRoot, uint64_t maximumCacheSize = util::DEFAULT_MAX_CACHE_SIZE); + DefaultFileSource(const std::string& cachePath, + std::unique_ptr<FileSource>&& assetFileSource, + uint64_t maximumCacheSize = util::DEFAULT_MAX_CACHE_SIZE); ~DefaultFileSource() override; bool supportsOptionalRequests() const override { |