blob: e20e1d818a36e6fb7675e93c15ac267e83f41930 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef MBGL_STORAGE_DEFAULT_ASSET_REQUEST
#define MBGL_STORAGE_DEFAULT_ASSET_REQUEST
#include "request_base.hpp"
namespace mbgl {
class AssetRequest : public RequestBase {
public:
AssetRequest(const Resource&, Callback, const std::string& assetRoot);
void start(uv_loop_t *loop, std::shared_ptr<const Response> response = nullptr);
void cancel();
private:
~AssetRequest();
void *ptr = nullptr;
const std::string& assetRoot;
friend class AssetRequestImpl;
};
}
#endif
|