blob: 156fd6dfe74c8761b83aaf1e5d2b22be6fbc0538 (
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
26
27
28
29
30
31
32
|
#ifndef MBGL_STORAGE_FILE_REQUEST
#define MBGL_STORAGE_FILE_REQUEST
#include <string>
#include <memory>
#include <cassert>
#include <mbgl/storage/base_request.hpp>
namespace mbgl {
typedef struct uv_loop_s uv_loop_t;
struct FileRequestBaton;
class FileRequest : public BaseRequest {
public:
FileRequest(const std::string &path, uv_loop_t *loop);
~FileRequest();
private:
const std::string path;
const unsigned long thread_id;
FileRequestBaton *ptr = nullptr;
friend struct FileRequestBaton;
};
}
#endif
|