summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/annotation_source.hpp
blob: 46c9564443d0b584300985599031672f01277dff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <mbgl/style/source.hpp>
#include <mbgl/style/source_impl.hpp>

namespace mbgl {

class AnnotationSource : public style::Source {
public:
    AnnotationSource();

    class Impl;
};

class AnnotationSource::Impl : public style::Source::Impl {
public:
    Impl(Source&);

    void loadDescription(FileSource&) final;
    std::unique_ptr<RenderSource> createRenderSource() const final;
};

} // namespace mbgl