diff options
author | Justin R. Miller <incanus@codesorcery.net> | 2014-07-16 18:18:04 -0700 |
---|---|---|
committer | Justin R. Miller <incanus@codesorcery.net> | 2014-07-16 18:18:04 -0700 |
commit | a902446e7f6d45c4b0a707f1adf4ea607b64f081 (patch) | |
tree | 9f1ed9992461c53ab643b7085c87fb2d3ea24c90 /common/glfw_view.hpp | |
parent | 3adad61b82ed140195756a5fce6717d0c63e79d9 (diff) | |
download | qtlocation-mapboxgl-a902446e7f6d45c4b0a707f1adf4ea607b64f081.tar.gz |
refs #342 & #346: per-map change callbacks
Diffstat (limited to 'common/glfw_view.hpp')
-rw-r--r-- | common/glfw_view.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/glfw_view.hpp b/common/glfw_view.hpp index 62da124caa..05a4063289 100644 --- a/common/glfw_view.hpp +++ b/common/glfw_view.hpp @@ -2,6 +2,7 @@ #define LLMR_COMMON_GLFW_VIEW #include <llmr/llmr.hpp> +#include <llmr/util/time.hpp> #ifdef NVIDIA #define GLFW_INCLUDE_ES2 @@ -18,6 +19,7 @@ public: void initialize(llmr::Map *map); void swap(); void make_active(); + void notify_map_change(llmr::MapChange change, llmr::timestamp delay = 0); static void key(GLFWwindow *window, int key, int scancode, int action, int mods); static void scroll(GLFWwindow *window, double xoffset, double yoffset); |