summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyleLayer_Private.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLStyleLayer_Private.h')
-rw-r--r--platform/darwin/src/MGLStyleLayer_Private.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLStyleLayer_Private.h b/platform/darwin/src/MGLStyleLayer_Private.h
new file mode 100644
index 0000000000..bc3d87bcb7
--- /dev/null
+++ b/platform/darwin/src/MGLStyleLayer_Private.h
@@ -0,0 +1,30 @@
+#import <Foundation/Foundation.h>
+#include <mbgl/style/layer.hpp>
+
+#import "MGLStyleLayer.h"
+#import "MGLStyleAttribute.h"
+
+#import "NSNumber+MGLStyleAttributeAdditions_Private.h"
+#import "NSArray+MGLStyleAttributeAdditions_Private.h"
+#import "NSString+MGLStyleAttributeAdditions_Private.h"
+#import "NSValue+MGLStyleAttributeAdditions_Private.h"
+#import "MGLStyleAttributeFunction_Private.h"
+#import "MGLStyleAttributeValue_Private.h"
+
+#if TARGET_OS_IPHONE
+ #import "UIColor+MGLAdditions.h"
+ #import "UIColor+MGLStyleAttributeAdditions_Private.h"
+#else
+ #import "NSColor+MGLAdditions.h"
+ #import "NSColor+MGLStyleAttributeAdditions_Private.h"
+#endif
+
+@class MGLMapView;
+
+@protocol MGLStyleLayer_Private <MGLStyleLayer>
+
+@property (nonatomic, weak) MGLMapView *mapView;
+@property (nonatomic, readwrite, copy) NSString *layerIdentifier;
+@property (nonatomic) mbgl::style::Layer *layer;
+
+@end