summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyleLayer_Private.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-08-15 15:29:42 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-08-16 16:46:04 -0700
commit5539a90c48dd5e7bb10d571a09ebd2df52cb44b8 (patch)
tree1a28e47449366824548b0476253d81e0f50ea926 /platform/darwin/src/MGLStyleLayer_Private.h
parent56e39b5ecbbe1781ad476a03e6d18c532713a471 (diff)
downloadqtlocation-mapboxgl-5539a90c48dd5e7bb10d571a09ebd2df52cb44b8.tar.gz
[ios, macos] Renamed Objective-C++ headers to .h
Also removed a redundant reference to MGLStyle_Private.h in ios.xcodeproj. Fixes #5952.
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