From 6fd40867d67eb3758c0eb8eca184ed9d7b9da5b0 Mon Sep 17 00:00:00 2001 From: Ivo van Dongen Date: Thu, 4 May 2017 19:21:08 +0300 Subject: [core] delegate light changes to render light --- src/mbgl/style/light_impl.hpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/mbgl/style/light_impl.hpp (limited to 'src/mbgl/style/light_impl.hpp') 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 +#include + +namespace mbgl { +namespace style { + +class Light::Impl { +public: + + LightObserver nullObserver; + LightObserver* observer = &nullObserver; + void setObserver(LightObserver*); + + IndexedTuple properties; +}; + +} // namespace style +} // namespace mbgl -- cgit v1.2.1