diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-08-15 15:29:42 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-08-16 16:46:04 -0700 |
commit | 5539a90c48dd5e7bb10d571a09ebd2df52cb44b8 (patch) | |
tree | 1a28e47449366824548b0476253d81e0f50ea926 /platform/darwin/src/MGLStyleLayer_Private.h | |
parent | 56e39b5ecbbe1781ad476a03e6d18c532713a471 (diff) | |
download | qtlocation-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.h | 30 |
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 |