Files
MapLibreParticleLab/platform/darwin/src/MLNOfflineStorage_Private.h
2024-06-11 19:01:50 +02:00

37 lines
993 B
Objective-C

#import "MLNOfflineStorage.h"
#import "MLNOfflinePack.h"
#include <mbgl/storage/database_file_source.hpp>
#include <mbgl/storage/online_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