diff options
Diffstat (limited to 'platform/darwin/src/MGLStyleAttribute.h')
-rw-r--r-- | platform/darwin/src/MGLStyleAttribute.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLStyleAttribute.h b/platform/darwin/src/MGLStyleAttribute.h new file mode 100644 index 0000000000..4f2424201e --- /dev/null +++ b/platform/darwin/src/MGLStyleAttribute.h @@ -0,0 +1,25 @@ +#import <Foundation/Foundation.h> + +#import "MGLStyleAttributeValue.h" +#import "MGLStyleLayer_Private.h" +#import "MGLStyleAttributeValue_Private.h" + +@interface MGLStyleAttribute : NSObject <MGLStyleAttributeValue> + ++ (id <MGLStyleAttributeValue>)mbgl_colorPropertyValueWith:(mbgl::style::PropertyValue<mbgl::Color>)property; + ++ (id <MGLStyleAttributeValue>)mbgl_numberPropertyValueWith:(mbgl::style::PropertyValue<float>)property; + ++ (id <MGLStyleAttributeValue>)mbgl_boolPropertyValueWith:(mbgl::style::PropertyValue<bool>)property; + ++ (id <MGLStyleAttributeValue>)mbgl_stringPropertyValueWith:(mbgl::style::PropertyValue<std::string>)property; + ++ (id <MGLStyleAttributeValue>)mbgl_offsetPropertyValueWith:(mbgl::style::PropertyValue<std::array<float, 2>>)property; + ++ (id <MGLStyleAttributeValue>)mbgl_paddingPropertyValueWith:(mbgl::style::PropertyValue<std::array<float, 4>>)property; + ++ (id <MGLStyleAttributeValue>)mbgl_stringArrayPropertyValueWith:(mbgl::style::PropertyValue<std::vector<std::string>>)property; + ++ (id <MGLStyleAttributeValue>)mbgl_numberArrayPropertyValueWith:(mbgl::style::PropertyValue<std::vector<float>>)property; + +@end |