diff options
author | Igor Khmurets <subzero@mapswithme.com> | 2014-05-21 00:09:35 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:15:55 +0300 |
commit | 525dcd07aacf65ebb3d717d009ed5761087add55 (patch) | |
tree | e65d3ae6d808866eac6dd21dfd025915bbf04ec6 /map/bookmark_manager.hpp | |
parent | 086b440785996a9477bf6351f7775464415acb76 (diff) |
[core] Added MoveBookmark function
Diffstat (limited to 'map/bookmark_manager.hpp')
-rw-r--r-- | map/bookmark_manager.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/map/bookmark_manager.hpp b/map/bookmark_manager.hpp index 16d3678ac3..48da54010d 100644 --- a/map/bookmark_manager.hpp +++ b/map/bookmark_manager.hpp @@ -40,7 +40,9 @@ public: void LoadBookmark(string const & filePath); /// Client should know where it adds bookmark - size_t AddBookmark(size_t categoryIndex, m2::PointD const & ptOrg, BookmarkData & bm); + size_t AddBookmark(size_t categoryIndex, BookmarkData & bm); + /// Client should know where it moves bookmark + size_t MoveBookmark(size_t bmIndex, size_t curCatIndex, size_t newCatIndex); void ReplaceBookmark(size_t catIndex, size_t bmIndex, BookmarkData const & bm); size_t LastEditedBMCategory(); |