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

#include <exception>

namespace mbgl {

class Tile;

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

    virtual void onTileChanged(Tile&) {}
    virtual void onTileError(Tile&, std::exception_ptr) {}
};

} // namespace mbgl