summaryrefslogtreecommitdiff
path: root/include/mbgl/util/timer.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-11-18 17:43:18 -0800
committerThiago Marcos P. Santos <thiago@mapbox.com>2015-12-01 11:49:02 +0200
commitc5a437771470382718500ba5cea598ede364b240 (patch)
tree7317fc5b61d42eed0110856ba3cdd0ced154dffc /include/mbgl/util/timer.hpp
parent1c63f98f6df6a8b1a5db2cfb9e0d0bedba931b07 (diff)
downloadqtlocation-mapboxgl-c5a437771470382718500ba5cea598ede364b240.tar.gz
[core] Privatize internal headers
Diffstat (limited to 'include/mbgl/util/timer.hpp')
-rw-r--r--include/mbgl/util/timer.hpp30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/mbgl/util/timer.hpp b/include/mbgl/util/timer.hpp
deleted file mode 100644
index 932bb47950..0000000000
--- a/include/mbgl/util/timer.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef MBGL_UTIL_TIMER
-#define MBGL_UTIL_TIMER
-
-#include <mbgl/util/noncopyable.hpp>
-#include <mbgl/util/chrono.hpp>
-
-#include <memory>
-#include <functional>
-
-namespace mbgl {
-namespace util {
-
-class Timer : private util::noncopyable {
-public:
- Timer();
- ~Timer();
-
- void start(Duration timeout, Duration repeat, std::function<void()>&&);
- void stop();
- void unref();
-
-private:
- class Impl;
- std::unique_ptr<Impl> impl;
-};
-
-}
-}
-
-#endif