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:
authorDaria Volvenkova <d.volvenkova@corp.mail.ru>2018-03-29 19:06:22 +0300
committerRoman Kuznetsov <r.kuznetsow@gmail.com>2018-04-06 15:59:42 +0300
commitb5e7441abae11e929cffccbd3cea750296197754 (patch)
tree1b0894321748f410517a8ae27e433af795756116 /map/bookmark_manager.hpp
parent71298a534e5fe5f00785d1897c8715afc23cb68f (diff)
Suppport KMB on iOS.
Diffstat (limited to 'map/bookmark_manager.hpp')
-rw-r--r--map/bookmark_manager.hpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/map/bookmark_manager.hpp b/map/bookmark_manager.hpp
index 00cd184c89..47cc12d36a 100644
--- a/map/bookmark_manager.hpp
+++ b/map/bookmark_manager.hpp
@@ -161,7 +161,7 @@ public:
bool IsVisible(df::MarkGroupID groupId) const;
- df::MarkGroupID CreateBookmarkCategory(kml::CategoryData const & data, bool autoSae = true);
+ df::MarkGroupID CreateBookmarkCategory(kml::CategoryData const & data, bool autoSave = true);
df::MarkGroupID CreateBookmarkCategory(std::string const & name, bool autoSave = true);
std::string GetCategoryName(df::MarkGroupID categoryId) const;
@@ -170,7 +170,10 @@ public:
df::GroupIDCollection const & GetBmGroupsIdList() const { return m_bmGroupsIdList; }
bool HasBmCategory(df::MarkGroupID groupId) const;
df::MarkGroupID LastEditedBMCategory();
- std::string LastEditedBMType() const;
+ kml::PredefinedColor LastEditedBMColor() const;
+
+ void SetLastEditedBmCategory(df::MarkGroupID groupId);
+ void SetLastEditedBmColor(kml::PredefinedColor color);
using TTouchRectHolder = function<m2::AnyRectD(UserMark::Type)>;
UserMark const * FindNearestUserMark(TTouchRectHolder const & holder) const;
@@ -440,7 +443,8 @@ private:
df::GroupIDCollection m_bmGroupsIdList;
std::string m_lastCategoryUrl;
- std::string m_lastType;
+ df::MarkGroupID m_lastGroupId = df::kInvalidMarkGroupId;
+ kml::PredefinedColor m_lastColor = kml::PredefinedColor::Red;
UserMarkLayers m_userMarkLayers;
MarksCollection m_userMarks;