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:
authorvng <viktor.govako@gmail.com>2013-03-23 21:07:40 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:52:17 +0300
commit67888547103f3111a73f188575a438f55088ef7d (patch)
treed6adc37e8229ce499896d035c3ff99f1f33a015c /map/bookmark.hpp
parentad977f5b33b832a62ec2acfb510c696c37c1a46b (diff)
Keep scale and timestamp when editing (replacing) bookmark in category.
Diffstat (limited to 'map/bookmark.hpp')
-rw-r--r--map/bookmark.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/map/bookmark.hpp b/map/bookmark.hpp
index 20f0ca9724..6fca356784 100644
--- a/map/bookmark.hpp
+++ b/map/bookmark.hpp
@@ -58,6 +58,10 @@ class BookmarkCategory : private noncopyable
/// Stores file name from which category was loaded
string m_file;
+ /// This function is called when bookmark is editing or replacing.
+ /// We need to assign private params to the newly created bookmark from the old one.
+ void AssignPrivateParams(size_t index, Bookmark & bm) const;
+
public:
BookmarkCategory(string const & name) : m_name(name), m_visible(true) {}
~BookmarkCategory();
@@ -68,10 +72,6 @@ public:
//@{
void AddBookmark(Bookmark const & bm);
void ReplaceBookmark(size_t index, Bookmark const & bm);
-
- /// This function is called when bookmark is editing or replacing.
- /// We need to assign times to the newly created bookmark from the old one.
- void AssignTimeStamp(size_t index, Bookmark & bm) const;
//@}
void SetVisible(bool isVisible) { m_visible = isVisible; }