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

namespace mbgl {
namespace style {

class Layer;

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

    virtual void onLayerFilterChanged(Layer&) {}
    virtual void onLayerVisibilityChanged(Layer&) {}
    virtual void onLayerPaintPropertyChanged(Layer&) {}
    virtual void onLayerLayoutPropertyChanged(Layer&, const char *) {}
};

} // namespace style
} // namespace mbgl