diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2016-10-05 00:50:48 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-10-06 15:19:38 -0700 |
commit | 0acf1ed5969cdf8ff428beea1b5cdc8d64bfc10f (patch) | |
tree | 0610d378b7fb7a5fbd2715775f0696304f74e187 /platform/darwin/src/MGLStyleLayer.h.ejs | |
parent | 50d2c01d7d0bad1aa1dee1a028e06f49f33c9b4c (diff) | |
download | qtlocation-mapboxgl-0acf1ed5969cdf8ff428beea1b5cdc8d64bfc10f.tar.gz |
[ios, macos] Renamed files to match renamed classes
Diffstat (limited to 'platform/darwin/src/MGLStyleLayer.h.ejs')
-rw-r--r-- | platform/darwin/src/MGLStyleLayer.h.ejs | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/platform/darwin/src/MGLStyleLayer.h.ejs b/platform/darwin/src/MGLStyleLayer.h.ejs index e27808bfc7..c688f1db5f 100644 --- a/platform/darwin/src/MGLStyleLayer.h.ejs +++ b/platform/darwin/src/MGLStyleLayer.h.ejs @@ -9,7 +9,11 @@ // Edit platform/darwin/scripts/generate-style-code.js, then run `make style-code-darwin`. #import "MGLStyleAttributeValue.h" -#import "MGLBaseStyleLayer.h" +#import "MGL<%- +(type === 'background' ? '' : + (type === 'raster' ? 'Foreground' : + 'Vector')) +%>StyleLayer.h" NS_ASSUME_NONNULL_BEGIN @@ -60,11 +64,11 @@ typedef NS_ENUM(NSUInteger, MGL<%- camelize(type) %>StyleLayer<%- camelize(prope `-[MGLStyle layerWithIdentifier:]` method. */ <% } -%> -@interface MGL<%- camelize(type) %>StyleLayer : <%- -(type === 'background' ? 'MGLStyleLayer' : - (type === 'raster' ? 'MGLForegroundStyleLayer' : - 'MGLVectorStyleLayer')) -%> +@interface MGL<%- camelize(type) %>StyleLayer : MGL<%- +(type === 'background' ? '' : + (type === 'raster' ? 'Foreground' : + 'Vector')) +%>StyleLayer <% if (type === 'background') { -%> - (instancetype)initWithIdentifier:(NSString *)identifier NS_DESIGNATED_INITIALIZER; |