summaryrefslogtreecommitdiff
path: root/src/mbgl/sprite/sprite_store_observer.hpp
blob: 66d9d3790f0138893feb0af2289201b0d0151a26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef MBGL_SPRITE_STORE_OBSERVER
#define MBGL_SPRITE_STORE_OBSERVER

#include <exception>

namespace mbgl {

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

    virtual void onSpriteLoaded() {}
    virtual void onSpriteError(std::exception_ptr) {}
};

} // namespace mbgl

#endif