blob: 92138615b58797d3d4d5690c010ec41ed82b7a59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef MBGL_STORAGE_ASSET_CONTEXT_BASE
#define MBGL_STORAGE_ASSET_CONTEXT_BASE
#include <mbgl/storage/request_base.hpp>
namespace mbgl {
class AssetContextBase {
public:
static std::unique_ptr<AssetContextBase> createContext();
virtual ~AssetContextBase() = default;
virtual RequestBase* createRequest(const std::string& url,
RequestBase::Callback,
const std::string& assetRoot) = 0;
};
} // namespace mbgl
#endif // MBGL_STORAGE_ASSET_CONTEXT_BASE
|