summaryrefslogtreecommitdiff
path: root/platform/default/include
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2020-02-27 12:42:13 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2020-03-05 17:43:37 +0200
commit29eff4028d9a17557c0aca5ce68c824335e1489e (patch)
treee040f8f24af53764aff78e9033f5f7fa5824f1ca /platform/default/include
parent09e69654fa7e7b1f14e3c6e0d140690935eed97d (diff)
downloadqtlocation-mapboxgl-29eff4028d9a17557c0aca5ce68c824335e1489e.tar.gz
[core] Remove Actor from public Snapshotter API
Diffstat (limited to 'platform/default/include')
-rw-r--r--platform/default/include/mbgl/map/map_snapshotter.hpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/platform/default/include/mbgl/map/map_snapshotter.hpp b/platform/default/include/mbgl/map/map_snapshotter.hpp
index 938c9bd4bf..7742669c46 100644
--- a/platform/default/include/mbgl/map/map_snapshotter.hpp
+++ b/platform/default/include/mbgl/map/map_snapshotter.hpp
@@ -9,13 +9,9 @@
#include <string>
#include <vector>
#include <functional>
-
namespace mbgl {
-template<class> class ActorRef;
struct CameraOptions;
-class FileSource;
-class Size;
class LatLngBounds;
class ResourceOptions;
@@ -54,7 +50,7 @@ public:
using LatLngForFn = std::function<LatLng (const ScreenCoordinate&)>;
using Attributions = std::vector<std::string>;
using Callback = std::function<void (std::exception_ptr, PremultipliedImage, Attributions, PointForFn, LatLngForFn)>;
- void snapshot(ActorRef<Callback>);
+ void snapshot(Callback);
private:
class Impl;