diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-12 13:01:00 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2017-05-13 09:28:53 -0700 |
commit | b3ec985568176b077756b66754470988436d43c1 (patch) | |
tree | 45638ff9787938cd34240542e95e51509773edbf /src/mbgl/style/observer.hpp | |
parent | 84e39611a096058826dbdb89dccbd1affad05f76 (diff) | |
download | qtlocation-mapboxgl-b3ec985568176b077756b66754470988436d43c1.tar.gz |
[core] Trim StyleObserver interface
It doesn't need to inherit from SpriteLoaderObserver and GlyphAtlasObserver.
Diffstat (limited to 'src/mbgl/style/observer.hpp')
-rw-r--r-- | src/mbgl/style/observer.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mbgl/style/observer.hpp b/src/mbgl/style/observer.hpp index 77d97685be..3b2c0db3c0 100644 --- a/src/mbgl/style/observer.hpp +++ b/src/mbgl/style/observer.hpp @@ -1,7 +1,5 @@ #pragma once -#include <mbgl/text/glyph_atlas_observer.hpp> -#include <mbgl/sprite/sprite_loader_observer.hpp> #include <mbgl/style/source_observer.hpp> #include <mbgl/map/update.hpp> @@ -10,9 +8,7 @@ namespace mbgl { namespace style { -class Observer : public GlyphAtlasObserver, - public SpriteLoaderObserver, - public SourceObserver { +class Observer : public SourceObserver { public: virtual void onUpdate(Update) {} virtual void onStyleError(std::exception_ptr) {} |