diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2012-12-03 01:23:48 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:47:23 +0300 |
commit | bd8abc8b5a7cd058f17017ed8f9a57bdb51507fc (patch) | |
tree | fc9ce62672c7daebc436184f43fbe3bf5570f60a /map/bookmark.hpp | |
parent | e2f51b92dedaca43698ad88ca7c2d36850cd8e48 (diff) |
[bookmarks] Added timestamp conversion helper functions
Diffstat (limited to 'map/bookmark.hpp')
-rw-r--r-- | map/bookmark.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/map/bookmark.hpp b/map/bookmark.hpp index 8df2e45d87..932c3d2922 100644 --- a/map/bookmark.hpp +++ b/map/bookmark.hpp @@ -8,6 +8,7 @@ #include "../std/string.hpp" #include "../std/noncopyable.hpp" #include "../std/iostream.hpp" +#include "../std/ctime.hpp" class Bookmark @@ -33,6 +34,8 @@ public: string const & GetType() const { return m_type; } m2::RectD GetViewport() const { return m2::RectD(m_org, m_org); } + static time_t const INVALID_TIME_STAMP; + double GetScale() const { return m_scale; } void SetScale(double scale) { m_scale = scale; } }; |