blob: 52d5036fae88e54392e0c5bc03c35f43fafdc4b1 (
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
29
30
31
32
|
#pragma once
#include <mbgl/style/source.hpp>
#include <mbgl/util/noncopyable.hpp>
#include <string>
namespace mbgl {
class RenderSource;
namespace style {
class SourceObserver;
class Source::Impl {
public:
virtual ~Impl() = default;
virtual optional<std::string> getAttribution() const = 0;
const SourceType type;
const std::string id;
protected:
Impl(SourceType, std::string);
Impl(const Impl&) = default;
Impl& operator=(const Impl&) = delete;
};
} // namespace style
} // namespace mbgl
|