1 #pragma once 2 3 #include <mbgl/style/source.hpp> 4 #include <mbgl/style/source_impl.hpp> 5 6 namespace mbgl { 7 8 class AnnotationSource : public style::Source { 9 public: 10 AnnotationSource(); 11 12 class Impl; 13 const Impl& impl() const; 14 15 private: 16 void loadDescription(FileSource&) final; 17 18 Mutable<Impl> mutableImpl() const; 19 }; 20 21 class AnnotationSource::Impl : public style::Source::Impl { 22 public: 23 Impl(); 24 25 optional<std::string> getAttribution() const final; 26 }; 27 28 } // namespace mbgl 29