summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/annotation_source.hpp
blob: 0728f3207ed896558ae8bdf9571a9816b0f82344 (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
#pragma once

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

namespace mbgl {

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

    class Impl;
    const Impl& impl() const;

private:
    void loadDescription(FileSource&) final;

    Mutable<Impl> mutableImpl() const;
};

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

    optional<std::string> getAttribution() const final;
};

} // namespace mbgl