diff options
Diffstat (limited to 'include/mbgl/style/layers/layer.hpp.ejs')
-rw-r--r-- | include/mbgl/style/layers/layer.hpp.ejs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/style/layers/layer.hpp.ejs b/include/mbgl/style/layers/layer.hpp.ejs index aaae30287c..9d542b75b6 100644 --- a/include/mbgl/style/layers/layer.hpp.ejs +++ b/include/mbgl/style/layers/layer.hpp.ejs @@ -45,6 +45,7 @@ public: // Layout properties <% for (const property of layoutProperties) { -%> + static PropertyValue<<%- propertyType(property) %>> getDefault<%- camelize(property.name) %>(); PropertyValue<<%- propertyType(property) %>> get<%- camelize(property.name) %>() const; void set<%- camelize(property.name) %>(PropertyValue<<%- propertyType(property) %>>); @@ -53,6 +54,7 @@ public: // Paint properties <% for (const property of paintProperties) { -%> + static PropertyValue<<%- propertyType(property) %>> getDefault<%- camelize(property.name) %>(); PropertyValue<<%- propertyType(property) %>> get<%- camelize(property.name) %>() const; void set<%- camelize(property.name) %>(PropertyValue<<%- propertyType(property) %>>, const optional<std::string>& klass = {}); |