summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-09-30 17:28:42 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-09-30 17:29:10 +0200
commit8fcc74e2531f53b6e09584fb58022f852a32b26c (patch)
treed2575142d5d82a32f03d2ce9ad3f501e8bc8bb76 /common
parenta9039cf5d75f4da667d9279d61f7549c43f7ea51 (diff)
downloadqtlocation-mapboxgl-8fcc74e2531f53b6e09584fb58022f852a32b26c.tar.gz
fix headless tests
Diffstat (limited to 'common')
-rw-r--r--common/headless_view.cpp4
-rw-r--r--common/headless_view.hpp1
2 files changed, 5 insertions, 0 deletions
diff --git a/common/headless_view.cpp b/common/headless_view.cpp
index ed00f48e82..ace41d38c0 100644
--- a/common/headless_view.cpp
+++ b/common/headless_view.cpp
@@ -163,6 +163,10 @@ HeadlessView::~HeadlessView() {
#endif
}
+void HeadlessView::notify() {
+ // no-op
+}
+
void HeadlessView::notify_map_change(mbgl::MapChange /*change*/, mbgl::timestamp /*delay*/) {
// no-op
}
diff --git a/common/headless_view.hpp b/common/headless_view.hpp
index a8ce4aa325..42f9c46da2 100644
--- a/common/headless_view.hpp
+++ b/common/headless_view.hpp
@@ -21,6 +21,7 @@ public:
void resize(uint16_t width, uint16_t height, float pixelRatio);
+ void notify();
void notify_map_change(MapChange change, timestamp delay = 0);
void make_active();
void swap();