summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-02-21 13:57:20 -0800
committerKonstantin Käfer <mail@kkaefer.com>2017-03-28 13:53:19 +0200
commit099a1cb9f10d5b615b115583be147656f2c2cd43 (patch)
treec20529ad5b89d39da48c8c3eee648d91ce018812
parent54cbdc4812c52894b1dbb34c786769e852f84f8c (diff)
downloadqtlocation-mapboxgl-099a1cb9f10d5b615b115583be147656f2c2cd43.tar.gz
[core] Move actor/{mailbox,scheduler}.hpp to public include directory
Map constructor takes Scheduler&, and consumers are expected to define an implementation. Therefore the interface must be public.
-rw-r--r--cmake/core-files.cmake4
-rw-r--r--include/mbgl/actor/mailbox.hpp (renamed from src/mbgl/actor/mailbox.hpp)0
-rw-r--r--include/mbgl/actor/scheduler.hpp (renamed from src/mbgl/actor/scheduler.hpp)0
3 files changed, 2 insertions, 2 deletions
diff --git a/cmake/core-files.cmake b/cmake/core-files.cmake
index 1a1f400163..21a88f0264 100644
--- a/cmake/core-files.cmake
+++ b/cmake/core-files.cmake
@@ -2,12 +2,12 @@
set(MBGL_CORE_FILES
# actor
+ include/mbgl/actor/mailbox.hpp
+ include/mbgl/actor/scheduler.hpp
src/mbgl/actor/actor.hpp
src/mbgl/actor/actor_ref.hpp
src/mbgl/actor/mailbox.cpp
- src/mbgl/actor/mailbox.hpp
src/mbgl/actor/message.hpp
- src/mbgl/actor/scheduler.hpp
# algorithm
src/mbgl/algorithm/covered_by_children.hpp
diff --git a/src/mbgl/actor/mailbox.hpp b/include/mbgl/actor/mailbox.hpp
index cff0de243a..cff0de243a 100644
--- a/src/mbgl/actor/mailbox.hpp
+++ b/include/mbgl/actor/mailbox.hpp
diff --git a/src/mbgl/actor/scheduler.hpp b/include/mbgl/actor/scheduler.hpp
index 83689c3348..83689c3348 100644
--- a/src/mbgl/actor/scheduler.hpp
+++ b/include/mbgl/actor/scheduler.hpp