summaryrefslogtreecommitdiff
path: root/include/mbgl/map/mode.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-03-24 11:55:20 +0100
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-04-28 14:32:20 -0400
commit9dc51e7f80f4ee1406be9743d671b28710274f7e (patch)
tree46d56bcf42d994acc6f2d8604cbe6e878a76f7f2 /include/mbgl/map/mode.hpp
parentfa272b3aaa27b5273c258876b44d77aaeec3c59d (diff)
downloadqtlocation-mapboxgl-9dc51e7f80f4ee1406be9743d671b28710274f7e.tar.gz
move rendering mode enum to MapData object
Diffstat (limited to 'include/mbgl/map/mode.hpp')
-rw-r--r--include/mbgl/map/mode.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/mbgl/map/mode.hpp b/include/mbgl/map/mode.hpp
new file mode 100644
index 0000000000..f8c4eb1e03
--- /dev/null
+++ b/include/mbgl/map/mode.hpp
@@ -0,0 +1,16 @@
+#ifndef MBGL_MAP_MODE
+#define MBGL_MAP_MODE
+
+#include <cstdint>
+
+namespace mbgl {
+
+enum class MapMode : uint8_t {
+ None, // we're not doing any processing
+ Continuous, // continually updating map
+ Still, // a once-off still image
+};
+
+}
+
+#endif \ No newline at end of file