Files
MapLibreParticleLab/platform/darwin/src/MLNOfflinePack_Private.h
mwilsnd 20d9e1028c Platform flattening overhaul (#1393)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-07-26 17:50:34 +02:00

24 lines
534 B
Objective-C

#import "MLNOfflinePack.h"
#include <mbgl/storage/offline.hpp>
NS_ASSUME_NONNULL_BEGIN
@interface MLNOfflinePack (Private)
@property (nonatomic, nullable) mbgl::OfflineRegion *mbglOfflineRegion;
@property (nonatomic, readwrite) MLNOfflinePackState state;
- (instancetype)initWithMBGLRegion:(mbgl::OfflineRegion *)region;
/**
Invalidates the pack and ensures that no future progress update can ever
revalidate it. This method must be called before the pack is deallocated.
*/
- (void)invalidate;
@end
NS_ASSUME_NONNULL_END