summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/raster_tile_worker.hpp
blob: 520973c3c3d2e5e9c8c66efd8927a496f7d5fe17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pragma once

#include <mbgl/actor/actor_ref.hpp>

#include <memory>
#include <string>

namespace mbgl {

class RasterTile;

class RasterTileWorker {
public:
    RasterTileWorker(ActorRef<RasterTileWorker>, ActorRef<RasterTile>);

    void parse(std::shared_ptr<const std::string> data, uint64_t correlationID);

private:
    ActorRef<RasterTile> parent;
};

} // namespace mbgl