summaryrefslogtreecommitdiff
path: root/common/headless_view.hpp
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2014-07-16 18:18:04 -0700
committerJustin R. Miller <incanus@codesorcery.net>2014-07-16 18:18:04 -0700
commita902446e7f6d45c4b0a707f1adf4ea607b64f081 (patch)
tree9f1ed9992461c53ab643b7085c87fb2d3ea24c90 /common/headless_view.hpp
parent3adad61b82ed140195756a5fce6717d0c63e79d9 (diff)
downloadqtlocation-mapboxgl-a902446e7f6d45c4b0a707f1adf4ea607b64f081.tar.gz
refs #342 & #346: per-map change callbacks
Diffstat (limited to 'common/headless_view.hpp')
-rw-r--r--common/headless_view.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/headless_view.hpp b/common/headless_view.hpp
index b3e1c11b9b..efbc08df1b 100644
--- a/common/headless_view.hpp
+++ b/common/headless_view.hpp
@@ -10,6 +10,7 @@
#include <llmr/map/view.hpp>
#include <llmr/platform/gl.hpp>
+#include <llmr/util/time.hpp>
namespace llmr {
@@ -20,6 +21,7 @@ public:
void resize(int width, int height);
+ void notify_map_change(MapChange change, timestamp delay = 0);
void make_active();
void swap();
unsigned int root_fbo();