summaryrefslogtreecommitdiff
path: root/include/mbgl/style/conversion.hpp
blob: 29af9fac9114c1e8fe31f6cd447008f56149b9e6 (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
#pragma once

#include <string>

namespace mbgl {
namespace style {
namespace conversion {

// This is a forward-declaration only header intended to minimize dependencies and to improve
// compilation speed. In order to specialize implementations and get access to the actual
// implementation, include <mbgl/style/conversion_impl.hpp>.

struct Error { std::string message; };

template <typename T>
class ConversionTraits;

class Convertible;

template <typename T, typename Enable = void>
struct Converter;

template <typename T, typename Enable = void>
struct ValueFactory;

} // namespace conversion
} // namespace style
} // namespace mbgl