summaryrefslogtreecommitdiff
path: root/src/mbgl/map/change.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-05-11 13:45:27 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-05-18 12:07:21 +0200
commit002393bdead2f036982ea3adb8a13a3d58f3428a (patch)
tree73da2311cb98ec7f0acf6f6bf2b1f9858846000c /src/mbgl/map/change.hpp
parent1d84a8964e39bd6a35de1dc64c03496bcdcf2c4f (diff)
downloadqtlocation-mapboxgl-002393bdead2f036982ea3adb8a13a3d58f3428a.tar.gz
[core] remove MockView and View dependency in Transform
Diffstat (limited to 'src/mbgl/map/change.hpp')
-rw-r--r--src/mbgl/map/change.hpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/mbgl/map/change.hpp b/src/mbgl/map/change.hpp
new file mode 100644
index 0000000000..01adc497d3
--- /dev/null
+++ b/src/mbgl/map/change.hpp
@@ -0,0 +1,27 @@
+#ifndef MBGL_MAP_CHANGE
+#define MBGL_MAP_CHANGE
+
+#include <cstdint>
+
+namespace mbgl {
+
+enum MapChange : uint8_t {
+ MapChangeRegionWillChange = 0,
+ MapChangeRegionWillChangeAnimated = 1,
+ MapChangeRegionIsChanging = 2,
+ MapChangeRegionDidChange = 3,
+ MapChangeRegionDidChangeAnimated = 4,
+ MapChangeWillStartLoadingMap = 5,
+ MapChangeDidFinishLoadingMap = 6,
+ MapChangeDidFailLoadingMap = 7,
+ MapChangeWillStartRenderingFrame = 8,
+ MapChangeDidFinishRenderingFrame = 9,
+ MapChangeDidFinishRenderingFrameFullyRendered = 10,
+ MapChangeWillStartRenderingMap = 11,
+ MapChangeDidFinishRenderingMap = 12,
+ MapChangeDidFinishRenderingMapFullyRendered = 13,
+};
+
+} // namespace mbgl
+
+#endif