summaryrefslogtreecommitdiff
path: root/src/mbgl/tile/raster_tile_worker.hpp
blob: 44e12557ca86c0df27bfb6433834437de6c18485 (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(const ActorRef<RasterTileWorker>&, ActorRef<RasterTile>);

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

private:
    ActorRef<RasterTile> parent;
};

} // namespace mbgl