summaryrefslogtreecommitdiff
path: root/include/mbgl/style/light.hpp.ejs
diff options
context:
space:
mode:
authorMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-09-26 18:26:11 +0300
committerMikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com>2019-09-27 13:08:53 +0300
commitd90b2bb6dc2a19961e029963e591d702f70dd721 (patch)
tree489d68b1186a3fe7da0b77c77e5e5f79fc1c6d31 /include/mbgl/style/light.hpp.ejs
parent5304bbc438afd60853c97d74cd38f04a50effa06 (diff)
downloadqtlocation-mapboxgl-d90b2bb6dc2a19961e029963e591d702f70dd721.tar.gz
[core] Introduce Light::getProperty()
Diffstat (limited to 'include/mbgl/style/light.hpp.ejs')
-rw-r--r--include/mbgl/style/light.hpp.ejs2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/style/light.hpp.ejs b/include/mbgl/style/light.hpp.ejs
index a5b907b4dc..e4661dc59b 100644
--- a/include/mbgl/style/light.hpp.ejs
+++ b/include/mbgl/style/light.hpp.ejs
@@ -9,6 +9,7 @@
#include <mbgl/style/conversion.hpp>
#include <mbgl/style/property_value.hpp>
+#include <mbgl/style/style_property.hpp>
#include <mbgl/style/transition_options.hpp>
#include <mbgl/style/types.hpp>
#include <mbgl/util/immutable.hpp>
@@ -25,6 +26,7 @@ public:
// Dynamic properties
optional<conversion::Error> setProperty(const std::string& name, const conversion::Convertible& value);
+ StyleProperty getProperty(const std::string&) const;
<% for (const property of properties) { -%>
static <%- evaluatedType(property) %> getDefault<%- camelize(property.name) %>();