summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
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();