summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/image_manager_observer.hpp
blob: c2ca481d66f9d30074a9ad33077b0e266719579a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include <mbgl/renderer/renderer_observer.hpp>

namespace mbgl {

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

    virtual void onStyleImageMissing(const std::string&, std::function<void()> done) { done(); }
    virtual void onRemoveUnusedStyleImages(const std::vector<std::string>&) {}
};

} // namespace mbgl