summaryrefslogtreecommitdiff
path: root/src/mbgl/style/sources/vector_source_impl.hpp
blob: 5e559b926608616551df728f6f9c78478907f107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include <mbgl/style/sources/vector_source.hpp>
#include <mbgl/style/source_impl.hpp>

namespace mbgl {
namespace style {

class VectorSource::Impl : public Source::Impl {
public:
    Impl(std::string id);
    Impl(const Impl&, Tileset);

    optional<Tileset> getTileset() const;

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

private:
    optional<Tileset> tileset;
};

} // namespace style
} // namespace mbgl