diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2017-05-04 19:21:08 +0300 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2017-05-08 19:39:55 +0300 |
commit | 6fd40867d67eb3758c0eb8eca184ed9d7b9da5b0 (patch) | |
tree | 36fede4f7dfeb01a6835f53a185dad47f3153481 /src/mbgl/style/light_impl.hpp | |
parent | feae5e22ee4910a1508f2120c8131b2f8531bae8 (diff) | |
download | qtlocation-mapboxgl-6fd40867d67eb3758c0eb8eca184ed9d7b9da5b0.tar.gz |
[core] delegate light changes to render light
Diffstat (limited to 'src/mbgl/style/light_impl.hpp')
-rw-r--r-- | src/mbgl/style/light_impl.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/mbgl/style/light_impl.hpp b/src/mbgl/style/light_impl.hpp new file mode 100644 index 0000000000..b4fd886742 --- /dev/null +++ b/src/mbgl/style/light_impl.hpp @@ -0,0 +1,20 @@ +#pragma once + +#include <mbgl/style/light_properties.hpp> +#include <mbgl/style/light_observer.hpp> + +namespace mbgl { +namespace style { + +class Light::Impl { +public: + + LightObserver nullObserver; + LightObserver* observer = &nullObserver; + void setObserver(LightObserver*); + + IndexedTuple<LightProperties, LightProperties> properties; +}; + +} // namespace style +} // namespace mbgl |