Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrachytski <siarhei.rachytski@gmail.com>2012-10-19 18:53:49 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:45:56 +0300
commit33563e317580071a2b06edd0d8cd7264bdbc824a (patch)
tree1eb7b0447e19d7aebdb6363aba058687f1071df8 /map/animator.hpp
parentf14b8da35f60bbd0c44915657d9dcc829a68c005 (diff)
moved duplicate code into StopAnimation method.
Diffstat (limited to 'map/animator.hpp')
-rw-r--r--map/animator.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/map/animator.hpp b/map/animator.hpp
index 451cf8f2c6..7e6a1e2a76 100644
--- a/map/animator.hpp
+++ b/map/animator.hpp
@@ -4,6 +4,7 @@
#include "../geometry/point2d.hpp"
#include "../geometry/any_rect2d.hpp"
+#include "../anim/task.hpp"
class Framework;
class RotateScreenTask;
@@ -21,6 +22,8 @@ private:
shared_ptr<ChangeViewportTask> m_changeViewportTask;
shared_ptr<MoveScreenTask> m_moveScreenTask;
+ void StopAnimation(shared_ptr<anim::Task> const & task);
+
public:
/// constructor by Framework