summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLBackgroundStyleLayer_Private.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform/darwin/src/MGLBackgroundStyleLayer_Private.h')
-rw-r--r--platform/darwin/src/MGLBackgroundStyleLayer_Private.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLBackgroundStyleLayer_Private.h b/platform/darwin/src/MGLBackgroundStyleLayer_Private.h
new file mode 100644
index 0000000000..07021669dc
--- /dev/null
+++ b/platform/darwin/src/MGLBackgroundStyleLayer_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/background_layer.hpp>
+
+namespace mbgl {
+
+class BackgroundStyleLayerPeerFactory : public LayerPeerFactory, public mbgl::style::BackgroundLayerFactory {
+ // LayerPeerFactory overrides.
+ style::LayerFactory* getCoreLayerFactory() final { return this; }
+ virtual MGLStyleLayer* createPeer(style::Layer*) final;
+};
+
+} // namespace mbgl