1#pragma once
2
3#include <mbgl/util/async_request.hpp>
4
5#include <memory>
6
7namespace mbgl {
8
9class WorkTask;
10
11class WorkRequest : public AsyncRequest {
12public:
13 using Task = std::shared_ptr<WorkTask>;
14 WorkRequest(Task);
15 ~WorkRequest() override;
16
17private:
18 std::shared_ptr<WorkTask> task;
19};
20
21} // namespace mbgl
22

source code of qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/work_request.hpp