Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart@emeel.net>
36 lines
946 B
Objective-C
36 lines
946 B
Objective-C
#import "MLNOfflineStorage.h"
|
|
|
|
#import "MLNOfflinePack.h"
|
|
|
|
#include <mbgl/storage/online_file_source.hpp>
|
|
#include <mbgl/storage/database_file_source.hpp>
|
|
|
|
#include "MLNSettings_Private.h"
|
|
|
|
#include <memory>
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface MLNOfflineStorage (Private)
|
|
|
|
/**
|
|
The shared database file source object owned by the shared offline storage object.
|
|
*/
|
|
@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::FileSource> mbglOnlineFileSource;
|
|
|
|
/**
|
|
The shared resource loader file source object owned by the shared offline storage object.
|
|
*/
|
|
@property (nonatomic) std::shared_ptr<mbgl::FileSource> mbglFileSource;
|
|
|
|
- (void)getPacksWithCompletionHandler:(void (^)(NSArray<MLNOfflinePack *> *packs, NSError * _Nullable error))completion;
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|