summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLShapeOfflineRegion_Private.h
blob: 2ab44ad405c4ac7d3dea81f7feffbf9ac1b08101 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#import <Foundation/Foundation.h>

#import "MGLOfflineRegion.h"

#include <mbgl/storage/offline.hpp>

NS_ASSUME_NONNULL_BEGIN

@protocol MGLShapeOfflineRegion_Private <MGLOfflineRegion>

/**
 Initializes and returns an offline region backed by the given C++ region
 definition object.

 @param definition A reference to an offline region definition backing the
    offline region.
 */
- (instancetype)initWithOfflineRegionDefinition:(const mbgl::OfflineGeometryRegionDefinition &)definition;

@end

NS_ASSUME_NONNULL_END