diff options
author | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2018-11-12 17:22:54 +0200 |
---|---|---|
committer | Mikhail Pozdnyakov <mikhail.pozdnyakov@mapbox.com> | 2018-11-16 18:04:00 +0200 |
commit | fa58011bac24181d4ebd3d39db10e3ec5abb323b (patch) | |
tree | 48ecd9803120dc4ffd1f315f37428834975f5fc3 /platform/darwin/src/MGLFillStyleLayer_Private.h | |
parent | 425a3ade9ebbd874fc7172afdbfa91d861b49f92 (diff) | |
download | qtlocation-mapboxgl-upstream/mikhail_layermanager_darwin.tar.gz |
[ios, macos] Layer manager for Darwin platformsupstream/mikhail_layermanager_darwin
The newly introduced `MGLStyleLayerManager` is now responsible
for creating both style layer objects and their obj C peers on Darwin.
Diffstat (limited to 'platform/darwin/src/MGLFillStyleLayer_Private.h')
-rw-r--r-- | platform/darwin/src/MGLFillStyleLayer_Private.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLFillStyleLayer_Private.h b/platform/darwin/src/MGLFillStyleLayer_Private.h new file mode 100644 index 0000000000..f31d397434 --- /dev/null +++ b/platform/darwin/src/MGLFillStyleLayer_Private.h @@ -0,0 +1,17 @@ +// This file is generated. +// Edit platform/darwin/scripts/generate-style-code.js, then run `make darwin-style-code`. +#pragma once + +#include "MGLStyleLayer_Private.h" + +#include <mbgl/style/layers/fill_layer.hpp> + +namespace mbgl { + +class FillStyleLayerPeerFactory : public LayerPeerFactory, public mbgl::style::FillLayerFactory { + // LayerPeerFactory overrides. + style::LayerFactory* getCoreLayerFactory() final { return this; } + virtual MGLStyleLayer* createPeer(style::Layer*) final; +}; + +} // namespace mbgl |