diff options
Diffstat (limited to 'src/mbgl/sprite/sprite_atlas_worker.hpp')
-rw-r--r-- | src/mbgl/sprite/sprite_atlas_worker.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/mbgl/sprite/sprite_atlas_worker.hpp b/src/mbgl/sprite/sprite_atlas_worker.hpp new file mode 100644 index 0000000000..70ca0d52e5 --- /dev/null +++ b/src/mbgl/sprite/sprite_atlas_worker.hpp @@ -0,0 +1,23 @@ +#pragma once + +#include <mbgl/actor/actor_ref.hpp> +#include <mbgl/sprite/sprite_parser.hpp> + +#include <memory> +#include <string> + +namespace mbgl { + +class SpriteAtlas; + +class SpriteAtlasWorker { +public: + SpriteAtlasWorker(ActorRef<SpriteAtlasWorker>, ActorRef<SpriteAtlas>); + + void parse(std::shared_ptr<const std::string> image, std::shared_ptr<const std::string> json); + +private: + ActorRef<SpriteAtlas> parent; +}; + +} // namespace mbgl |