diff options
Diffstat (limited to 'src/mbgl/map/tile_data.hpp')
-rw-r--r-- | src/mbgl/map/tile_data.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mbgl/map/tile_data.hpp b/src/mbgl/map/tile_data.hpp index 3945a32147..0d34b2df74 100644 --- a/src/mbgl/map/tile_data.hpp +++ b/src/mbgl/map/tile_data.hpp @@ -44,7 +44,10 @@ public: TileData(const TileID&, const SourceInfo&); ~TileData(); - void request(Worker&, float pixelRatio, std::function<void ()> callback); + void request(Worker&, + float pixelRatio, + const std::function<void()>& successCallback, + const std::function<void(const std::string& message)>& failureCallback); // Schedule a tile reparse on a worker thread and call the callback on // completion. It will return true if the work was schedule or false it was |