diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-11-18 17:43:18 -0800 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2015-12-01 11:49:02 +0200 |
commit | c5a437771470382718500ba5cea598ede364b240 (patch) | |
tree | 7317fc5b61d42eed0110856ba3cdd0ced154dffc /include/mbgl/util/timer.hpp | |
parent | 1c63f98f6df6a8b1a5db2cfb9e0d0bedba931b07 (diff) | |
download | qtlocation-mapboxgl-c5a437771470382718500ba5cea598ede364b240.tar.gz |
[core] Privatize internal headers
Diffstat (limited to 'include/mbgl/util/timer.hpp')
-rw-r--r-- | include/mbgl/util/timer.hpp | 30 |
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 |