summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-01-07 18:51:19 +0100
committerKonstantin Käfer <mail@kkaefer.com>2016-01-15 17:04:08 +0100
commita88e58ef3a90225fcfafca1efab996de6a827b72 (patch)
tree925d68e81c26b918b3c6aa4c31f4e33ce50fbb82 /include
parent32a2359e86bc86221682f1afa057b62f0f0be8c2 (diff)
downloadqtlocation-mapboxgl-a88e58ef3a90225fcfafca1efab996de6a827b72.tar.gz
[core] use stale glyphs
Updating glyphs is still unsupported, and there's no good use case for doing so. When we're using a stale glyph PBF, and the fresh answer contains changed to that glyph, we will continue to use the old glyph.
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/platform/event.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/mbgl/platform/event.hpp b/include/mbgl/platform/event.hpp
index 5c59dc69c7..8e36508388 100644
--- a/include/mbgl/platform/event.hpp
+++ b/include/mbgl/platform/event.hpp
@@ -37,7 +37,8 @@ enum class Event : uint8_t {
OpenGL,
JNI,
Android,
- Crash
+ Crash,
+ Glyph,
};
MBGL_DEFINE_ENUM_CLASS(EventClass, Event, {
@@ -56,6 +57,7 @@ MBGL_DEFINE_ENUM_CLASS(EventClass, Event, {
{ Event::JNI, "JNI" },
{ Event::Android, "Android" },
{ Event::Crash, "Crash" },
+ { Event::Glyph, "Glyph" },
{ Event(-1), "Unknown" },
});