[core] Add Snapshotter::cancel method

This commit is contained in:
Alexander Shalamov
2020-02-27 16:42:57 +02:00
parent 1577a6b537
commit 174f40dee3
2 changed files with 10 additions and 4 deletions

View File

@@ -54,6 +54,7 @@ public:
using Attributions = std::vector<std::string>;
using Callback = std::function<void (std::exception_ptr, PremultipliedImage, Attributions, PointForFn, LatLngForFn)>;
void snapshot(Callback);
void cancel();
private:
class Impl;