summaryrefslogtreecommitdiff
path: root/include/mbgl/style/source.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/style/source.hpp')
-rw-r--r--include/mbgl/style/source.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/style/source.hpp b/include/mbgl/style/source.hpp
index 92341066b1..870c81fda6 100644
--- a/include/mbgl/style/source.hpp
+++ b/include/mbgl/style/source.hpp
@@ -1,6 +1,7 @@
#pragma once
#include <mbgl/util/noncopyable.hpp>
+#include <mbgl/util/optional.hpp>
#include <mbgl/style/types.hpp>
#include <memory>
@@ -50,6 +51,8 @@ public:
// are copied from this source.
std::unique_ptr<Source> copy(const std::string& id) const;
+ optional<std::string> getAttribution() const;
+
// Private implementation
class Impl;
const std::unique_ptr<Impl> baseImpl;