summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLOfflineTask_Private.h
blob: 7a425d764717e8f5d314a912d16843f2553991ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#import "MGLOfflineTask.h"

#include <mbgl/storage/default_file_source.hpp>

NS_ASSUME_NONNULL_BEGIN

@interface MGLOfflineTask (Private)

@property (nonatomic, nullable) mbgl::OfflineRegion *mbglOfflineRegion;

- (instancetype)initWithMBGLRegion:(mbgl::OfflineRegion *)region;

/**
 Invalidates the task and ensures that no future progress update can ever
 revalidate it.
 */
- (void)invalidate;

@end

NS_ASSUME_NONNULL_END