summaryrefslogtreecommitdiff
path: root/src/mbgl/annotation/annotation_source.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/annotation/annotation_source.hpp')
-rw-r--r--src/mbgl/annotation/annotation_source.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/mbgl/annotation/annotation_source.hpp b/src/mbgl/annotation/annotation_source.hpp
index 46c9564443..56d91f5501 100644
--- a/src/mbgl/annotation/annotation_source.hpp
+++ b/src/mbgl/annotation/annotation_source.hpp
@@ -10,13 +10,19 @@ 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(Source&);
+ Impl();
- void loadDescription(FileSource&) final;
+ optional<std::string> getAttribution() const final;
std::unique_ptr<RenderSource> createRenderSource() const final;
};