1 #pragma once
2 
3 #include <mbgl/style/types.hpp>
4 #include <mbgl/text/glyph_range.hpp>
5 #include <mbgl/util/font_stack.hpp>
6 
7 #include <exception>
8 
9 namespace mbgl {
10 
11 class GlyphManagerObserver {
12 public:
13     virtual ~GlyphManagerObserver() = default;
14 
onGlyphsLoaded(const FontStack &,const GlyphRange &)15     virtual void onGlyphsLoaded(const FontStack&, const GlyphRange&) {}
onGlyphsError(const FontStack &,const GlyphRange &,std::exception_ptr)16     virtual void onGlyphsError(const FontStack&, const GlyphRange&, std::exception_ptr) {}
17 };
18 
19 } // namespace mbgl
20