summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layer_observer.hpp
blob: 1d3d1aef4688268237e04a1e77a7d531a24ea10b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#pragma once

namespace mbgl {
namespace style {

class Layer;

class LayerObserver {
public:
    virtual ~LayerObserver() = default;

    virtual void onLayerFilterChanged(Layer&) {}
    virtual void onLayerPaintPropertyChanged(Layer&) {}
    virtual void onLayerLayoutPropertyChanged(Layer&) {}
};

} // namespace style
} // namespace mbgl