From 57351c068b133ed140ac7b991181672019fe5c24 Mon Sep 17 00:00:00 2001 From: Ivo van Dongen Date: Tue, 13 Jun 2017 10:50:16 +0300 Subject: [core] split backend from mapobserver --- include/mbgl/map/backend.hpp | 4 ++-- include/mbgl/map/map.hpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/mbgl/map/backend.hpp b/include/mbgl/map/backend.hpp index 2e73ad994c..434f68779c 100644 --- a/include/mbgl/map/backend.hpp +++ b/include/mbgl/map/backend.hpp @@ -1,6 +1,6 @@ #pragma once -#include +#include #include #include @@ -17,7 +17,7 @@ using FramebufferID = uint32_t; class BackendScope; -class Backend : public MapObserver { +class Backend { public: Backend(); virtual ~Backend(); diff --git a/include/mbgl/map/map.hpp b/include/mbgl/map/map.hpp index d82a260362..22ac100c40 100644 --- a/include/mbgl/map/map.hpp +++ b/include/mbgl/map/map.hpp @@ -33,6 +33,7 @@ class Style; class Map : private util::noncopyable { public: explicit Map(Backend&, + MapObserver&, Size size, float pixelRatio, FileSource&, -- cgit v1.2.1