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

#include <mbgl/style/source_observer.hpp>

#include <exception>

namespace mbgl {
namespace style {

class Observer : public SourceObserver {
public:
    virtual void onStyleLoading() {}
    virtual void onStyleLoaded() {}
    virtual void onUpdate() {}
    virtual void onStyleError(std::exception_ptr) {}
    virtual void onResourceError(std::exception_ptr) {}
};

} // namespace style
} // namespace mbgl