summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLOfflineStorage_Private.h
blob: 2657860f5e079e4fdb3e311a6c664c8193e6f0f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#import "MGLOfflineStorage.h"

#import "MGLOfflinePack.h"

#include <mbgl/storage/online_file_source.hpp>
#include <mbgl/storage/database_file_source.hpp>

#include <memory>

NS_ASSUME_NONNULL_BEGIN

@interface MGLOfflineStorage (Private)

/**
 The shared database file storage object.
 */
@property (nonatomic) std::shared_ptr<mbgl::JointDatabaseStorage> mbglDatabaseStorage;

/**
 The shared online file source object owned by the shared offline storage object.
 */
@property (nonatomic) std::shared_ptr<mbgl::FileSource> 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.
 */
@property (nonatomic) std::string mbglCachePath;

@end

NS_ASSUME_NONNULL_END