summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLOfflineStorage_Private.h
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-10-08 11:33:30 +0300
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2020-01-13 10:57:23 +0200
commit77c86bc6b9777c30120f4aba98af9f21222b54da (patch)
tree9bcfce8106fc4280746908b6cbc5895b1c6cdb4f /platform/darwin/src/MGLOfflineStorage_Private.h
parentc8024cf00d1fefb8d736e0cb155326264c48372a (diff)
downloadqtlocation-mapboxgl-77c86bc6b9777c30120f4aba98af9f21222b54da.tar.gz
[darwin] Use new FileSourceManager interface
Diffstat (limited to 'platform/darwin/src/MGLOfflineStorage_Private.h')
-rw-r--r--platform/darwin/src/MGLOfflineStorage_Private.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLOfflineStorage_Private.h b/platform/darwin/src/MGLOfflineStorage_Private.h
index 5ac64ea995..13bddd7999 100644
--- a/platform/darwin/src/MGLOfflineStorage_Private.h
+++ b/platform/darwin/src/MGLOfflineStorage_Private.h
@@ -2,7 +2,8 @@
#import "MGLOfflinePack.h"
-#include <mbgl/storage/default_file_source.hpp>
+#include <mbgl/storage/online_file_source.hpp>
+#include <mbgl/storage/database_file_source.hpp>
#include <memory>
@@ -11,9 +12,19 @@ NS_ASSUME_NONNULL_BEGIN
@interface MGLOfflineStorage (Private)
/**
- The shared file source object owned by the shared offline storage object.
+ The shared database file source object owned by the shared offline storage object.
*/
-@property (nonatomic) std::shared_ptr<mbgl::DefaultFileSource> mbglFileSource;
+@property (nonatomic) std::shared_ptr<mbgl::DatabaseFileSource> mbglDatabaseFileSource;
+
+/**
+ The shared online file source object owned by the shared offline storage object.
+ */
+@property (nonatomic) std::shared_ptr<mbgl::OnlineFileSource> mbglOnlineFileSource;
+
+/**
+ The shared resource loader file source object owned by the shared offline storage object.
+ */
+@property (nonatomic) std::shared_ptr<mbgl::FileSource> mbglFileSource;
/**
The shared offline cache path.